{
  "nbformat": 4,
  "nbformat_minor": 0,
  "metadata": {
    "colab": {
      "name": "DVTRON.ipynb",
      "provenance": [],
      "collapsed_sections": [],
      "toc_visible": true
    },
    "kernelspec": {
      "name": "python3",
      "display_name": "Python 3"
    },
    "accelerator": "GPU"
  },
  "cells": [
    {
      "cell_type": "code",
      "metadata": {
        "id": "kCKcFk0rO5C9",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 85
        },
        "outputId": "72e95dc7-60a4-4657-ecf6-beee8606b71c"
      },
      "source": [
        "!gdown https://drive.google.com/uc?id=1-9jo_if68feCa5qODnJuMmDAy50x44cn"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "Downloading...\n",
            "From: https://drive.google.com/uc?id=1-9jo_if68feCa5qODnJuMmDAy50x44cn\n",
            "To: /content/DVTON.zip\n",
            "1.71GB [00:11, 145MB/s]\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "xtwIRnOK3sBI",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 1000
        },
        "outputId": "3aee1e51-7e15-4663-833c-fbb0a74dfbad"
      },
      "source": [
        "!unzip DVTON.zip"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "Archive:  DVTON.zip\n",
            "   creating: CIHP_PGN-master/\n",
            "  inflating: CIHP_PGN-master/train_pgn.py  \n",
            " extracting: CIHP_PGN-master/.gitignore  \n",
            "   creating: CIHP_PGN-master/utils/\n",
            "  inflating: CIHP_PGN-master/utils/model_pgn.py  \n",
            "  inflating: CIHP_PGN-master/utils/ops.py  \n",
            "  inflating: CIHP_PGN-master/utils/utils.py  \n",
            "  inflating: CIHP_PGN-master/utils/image_reader_pgn.py  \n",
            "  inflating: CIHP_PGN-master/utils/image_reader.py  \n",
            "   creating: CIHP_PGN-master/utils/__pycache__/\n",
            "  inflating: CIHP_PGN-master/utils/__pycache__/model_pgn.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/utils/__pycache__/utils.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/utils/__pycache__/image_reader_pgn.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/utils/__pycache__/ops.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/utils/__pycache__/image_reader.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/utils/__pycache__/pose_utils.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/utils/__pycache__/pose_transform.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/utils/__pycache__/transforms.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/utils/__pycache__/warp_image.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/utils/__pycache__/__init__.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/utils/datasample_pool.py  \n",
            "  inflating: CIHP_PGN-master/utils/loss.py  \n",
            "  inflating: CIHP_PGN-master/utils/pose_transform.py  \n",
            "  inflating: CIHP_PGN-master/utils/pose_utils.py  \n",
            "  inflating: CIHP_PGN-master/utils/transforms.py  \n",
            "  inflating: CIHP_PGN-master/utils/warp_image.py  \n",
            "  inflating: CIHP_PGN-master/utils/__init__.py  \n",
            "   creating: CIHP_PGN-master/instance_tool/\n",
            "  inflating: CIHP_PGN-master/instance_tool/search.m  \n",
            "  inflating: CIHP_PGN-master/instance_tool/pascal_seg_colormap.mat  \n",
            "  inflating: CIHP_PGN-master/instance_tool/region_merge.m  \n",
            "  inflating: CIHP_PGN-master/instance_tool/bfs.m  \n",
            "  inflating: CIHP_PGN-master/instance_tool/generate_instance_human.m  \n",
            "  inflating: CIHP_PGN-master/instance_tool/generate_instance_part.m  \n",
            "   creating: CIHP_PGN-master/datasets/\n",
            "   creating: CIHP_PGN-master/datasets/CIHP/\n",
            "   creating: CIHP_PGN-master/datasets/CIHP/images/\n",
            "  inflating: CIHP_PGN-master/datasets/CIHP/images/person.jpg  \n",
            "   creating: CIHP_PGN-master/datasets/CIHP/dress/\n",
            "  inflating: CIHP_PGN-master/datasets/CIHP/dress/girl-cotton-top-500x500.jpg  \n",
            "   creating: CIHP_PGN-master/datasets/CIHP2/\n",
            "   creating: CIHP_PGN-master/datasets/CIHP2/edges/\n",
            "  inflating: CIHP_PGN-master/datasets/CIHP2/edges/person.png  \n",
            "   creating: CIHP_PGN-master/datasets/CIHP2/images/\n",
            "  inflating: CIHP_PGN-master/datasets/CIHP2/images/person.jpg  \n",
            "   creating: CIHP_PGN-master/datasets/CIHP2/list/\n",
            "  inflating: CIHP_PGN-master/datasets/CIHP2/list/val.txt  \n",
            " extracting: CIHP_PGN-master/datasets/CIHP2/list/val_id.txt  \n",
            "   creating: CIHP_PGN-master/kaffe/\n",
            "  inflating: CIHP_PGN-master/kaffe/transformers.py  \n",
            "  inflating: CIHP_PGN-master/kaffe/graph.py  \n",
            "  inflating: CIHP_PGN-master/kaffe/shapes.py  \n",
            "  inflating: CIHP_PGN-master/kaffe/layers.py  \n",
            "  inflating: CIHP_PGN-master/kaffe/__init__.py  \n",
            "  inflating: CIHP_PGN-master/kaffe/errors.py  \n",
            "   creating: CIHP_PGN-master/kaffe/caffe/\n",
            "  inflating: CIHP_PGN-master/kaffe/caffe/__init__.py  \n",
            "  inflating: CIHP_PGN-master/kaffe/caffe/caffepb.py  \n",
            "  inflating: CIHP_PGN-master/kaffe/caffe/resolver.py  \n",
            "   creating: CIHP_PGN-master/kaffe/caffe/__pycache__/\n",
            "  inflating: CIHP_PGN-master/kaffe/caffe/__pycache__/resolver.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/kaffe/caffe/__pycache__/__init__.cpython-36.pyc  \n",
            "   creating: CIHP_PGN-master/kaffe/tensorflow/\n",
            "  inflating: CIHP_PGN-master/kaffe/tensorflow/__init__.py  \n",
            "  inflating: CIHP_PGN-master/kaffe/tensorflow/transformer.py  \n",
            "  inflating: CIHP_PGN-master/kaffe/tensorflow/network.py  \n",
            "   creating: CIHP_PGN-master/kaffe/tensorflow/__pycache__/\n",
            "  inflating: CIHP_PGN-master/kaffe/tensorflow/__pycache__/__init__.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/kaffe/tensorflow/__pycache__/transformer.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/kaffe/tensorflow/__pycache__/network.cpython-36.pyc  \n",
            "   creating: CIHP_PGN-master/kaffe/__pycache__/\n",
            "  inflating: CIHP_PGN-master/kaffe/__pycache__/shapes.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/kaffe/__pycache__/errors.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/kaffe/__pycache__/__init__.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/kaffe/__pycache__/graph.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/kaffe/__pycache__/layers.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/kaffe/__pycache__/transformers.cpython-36.pyc  \n",
            "   creating: CIHP_PGN-master/checkpoint/\n",
            "  inflating: CIHP_PGN-master/checkpoint/model.ckpt-593292.data-00000-of-00001  \n",
            "  inflating: CIHP_PGN-master/checkpoint/model.ckpt-593292.index  \n",
            "  inflating: CIHP_PGN-master/checkpoint/model.ckpt-593292.meta  \n",
            "  inflating: CIHP_PGN-master/checkpoint/checkpoint  \n",
            "   creating: CIHP_PGN-master/output/\n",
            "   creating: CIHP_PGN-master/output/cihp_parsing_maps/\n",
            "  inflating: CIHP_PGN-master/output/cihp_parsing_maps/women_vis.png  \n",
            "  inflating: CIHP_PGN-master/output/cihp_parsing_maps/women.png  \n",
            "  inflating: CIHP_PGN-master/output/cihp_parsing_maps/women.mat  \n",
            "  inflating: CIHP_PGN-master/output/cihp_parsing_maps/man_new_vis.png  \n",
            "  inflating: CIHP_PGN-master/output/cihp_parsing_maps/man_new.png  \n",
            "  inflating: CIHP_PGN-master/output/cihp_parsing_maps/man_new.mat  \n",
            "  inflating: CIHP_PGN-master/output/cihp_parsing_maps/shirt_new_vis.png  \n",
            "  inflating: CIHP_PGN-master/output/cihp_parsing_maps/shirt_new.png  \n",
            "  inflating: CIHP_PGN-master/output/cihp_parsing_maps/shirt_new.mat  \n",
            "   creating: CIHP_PGN-master/output/cihp_edge_maps/\n",
            "  inflating: CIHP_PGN-master/output/cihp_edge_maps/women.png  \n",
            "  inflating: CIHP_PGN-master/output/cihp_edge_maps/man_new.png  \n",
            "  inflating: CIHP_PGN-master/output/cihp_edge_maps/shirt_new.png  \n",
            "  inflating: CIHP_PGN-master/config.py  \n",
            "   creating: CIHP_PGN-master/data/\n",
            "  inflating: CIHP_PGN-master/data/__init__.py  \n",
            "   creating: CIHP_PGN-master/data/__pycache__/\n",
            "  inflating: CIHP_PGN-master/data/__pycache__/data.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/data/__pycache__/temporal_dataset.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/data/__pycache__/__init__.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/data/__pycache__/base_dataset.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/data/__pycache__/regular_dataset.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/data/__pycache__/demo_dataset.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/data/base_dataset.py  \n",
            "  inflating: CIHP_PGN-master/data/demo_dataset.py  \n",
            "  inflating: CIHP_PGN-master/data/regular_dataset.py  \n",
            "  inflating: CIHP_PGN-master/demo.sh  \n",
            "   creating: CIHP_PGN-master/demo/\n",
            "   creating: CIHP_PGN-master/demo/forward/\n",
            "  inflating: CIHP_PGN-master/demo/forward/0.jpg  \n",
            "  inflating: CIHP_PGN-master/demo/demo.txt  \n",
            "   creating: CIHP_PGN-master/lib/\n",
            "   creating: CIHP_PGN-master/lib/__pycache__/\n",
            "  inflating: CIHP_PGN-master/lib/__pycache__/DeformableGAN.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/lib/__pycache__/DeformableGAN_edit.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/lib/__pycache__/GlobalLocalPRDemo_models.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/lib/__pycache__/geometric_matching.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/lib/__pycache__/refine_cloth.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/lib/__pycache__/geometric_matching_multi_gpu.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/lib/geometric_matching_multi_gpu.py  \n",
            "   creating: CIHP_PGN-master/models/\n",
            " extracting: CIHP_PGN-master/models/__init__.py  \n",
            "   creating: CIHP_PGN-master/models/__pycache__/\n",
            "  inflating: CIHP_PGN-master/models/__pycache__/attention_transfer.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/__pycache__/base_model.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/__pycache__/generation_model.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/__pycache__/models.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/__pycache__/network_mm.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/__pycache__/pix2pixHD.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/__pycache__/progressive.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/__pycache__/research.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/__pycache__/__init__.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/__pycache__/networks.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/__pycache__/network_g.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/__pycache__/network_d.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/models/base_model.py  \n",
            "  inflating: CIHP_PGN-master/models/generation_model.py  \n",
            "  inflating: CIHP_PGN-master/models/models.py  \n",
            "  inflating: CIHP_PGN-master/models/network_d.py  \n",
            "  inflating: CIHP_PGN-master/models/network_g.py  \n",
            "  inflating: CIHP_PGN-master/models/networks.py  \n",
            "   creating: CIHP_PGN-master/pretrained_checkpoint/\n",
            "  inflating: CIHP_PGN-master/pretrained_checkpoint/step_009000.pth  \n",
            "  inflating: CIHP_PGN-master/pretrained_checkpoint/app.tar  \n",
            "  inflating: CIHP_PGN-master/pretrained_checkpoint/face.tar  \n",
            "  inflating: CIHP_PGN-master/pretrained_checkpoint/parsing.tar  \n",
            " extracting: CIHP_PGN-master/pretrained_checkpoint/.gitkeep  \n",
            "  inflating: CIHP_PGN-master/train.py  \n",
            "  inflating: CIHP_PGN-master/train.sh  \n",
            "   creating: CIHP_PGN-master/dataset/\n",
            "   creating: CIHP_PGN-master/dataset/pose_coco/\n",
            "  inflating: CIHP_PGN-master/dataset/pose_coco/A0F21D012-K11@8=person_half_front_keypoints.json  \n",
            "  inflating: CIHP_PGN-master/dataset/pose_coco/4BE21D0A2-C11@8=person_half_front_keypoints.json  \n",
            "  inflating: CIHP_PGN-master/dataset/pose_coco/AD121D0F0-G12@10=person_half_front_keypoints.json  \n",
            "  inflating: CIHP_PGN-master/dataset/pose_coco/4HI21D003-C11@10=person_half_front_keypoints.json  \n",
            "  inflating: CIHP_PGN-master/dataset/pose_coco/person_keypints.json  \n",
            "  inflating: CIHP_PGN-master/dataset/pose_coco/person_keypoints.json  \n",
            "   creating: CIHP_PGN-master/dataset/cloth_mask/\n",
            " extracting: CIHP_PGN-master/dataset/cloth_mask/dress_mask.png  \n",
            "   creating: CIHP_PGN-master/dataset/cloth_image/\n",
            "  inflating: CIHP_PGN-master/dataset/cloth_image/dress.jpg  \n",
            "   creating: CIHP_PGN-master/dataset/images/\n",
            "  inflating: CIHP_PGN-master/dataset/images/person.jpg  \n",
            "   creating: CIHP_PGN-master/dataset/parse_cihp/\n",
            " extracting: CIHP_PGN-master/dataset/parse_cihp/person_vis.png  \n",
            " extracting: CIHP_PGN-master/dataset/parse_cihp/person.png  \n",
            "   creating: CIHP_PGN-master/hed_model/\n",
            "  inflating: CIHP_PGN-master/hed_model/hed_pretrained_bsds.caffemodel  \n",
            "  inflating: CIHP_PGN-master/hed_model/deploy.prototxt  \n",
            "  inflating: CIHP_PGN-master/detect_edges_image.py  \n",
            "   creating: CIHP_PGN-master/__pycache__/\n",
            "  inflating: CIHP_PGN-master/__pycache__/detect_edges_image.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/__pycache__/config.cpython-36.pyc  \n",
            "  inflating: CIHP_PGN-master/__pycache__/parsing.cpython-36.pyc  \n",
            "   creating: CIHP_PGN-master/end2end/\n",
            "  inflating: CIHP_PGN-master/end2end/0.jpg  \n",
            "   creating: CIHP_PGN-master/templates/\n",
            "  inflating: CIHP_PGN-master/templates/error.html  \n",
            "  inflating: CIHP_PGN-master/templates/test.html  \n",
            "  inflating: CIHP_PGN-master/templates/index.html  \n",
            "  inflating: CIHP_PGN-master/templates/processing.html  \n",
            "   creating: CIHP_PGN-master/static/\n",
            "   creating: CIHP_PGN-master/static/.ipynb_checkpoints/\n",
            "   creating: CIHP_PGN-master/static/people_photo/\n",
            "  inflating: CIHP_PGN-master/static/people_photo/image_text.jpg  \n",
            "  inflating: CIHP_PGN-master/static/people_photo/mohanlal.jpg  \n",
            "   creating: CIHP_PGN-master/static/images/\n",
            "  inflating: CIHP_PGN-master/static/images/success.png  \n",
            "  inflating: CIHP_PGN-master/static/images/temp_person_image.jpg  \n",
            "  inflating: CIHP_PGN-master/static/images/temp.jpg  \n",
            "  inflating: CIHP_PGN-master/static/style.css  \n",
            "  inflating: CIHP_PGN-master/static/jumbotron-narrow.css  \n",
            "   creating: CIHP_PGN-master/.ipynb_checkpoints/\n",
            "  inflating: CIHP_PGN-master/test_new.py  \n",
            "  inflating: CIHP_PGN-master/parsing.py  \n",
            "  inflating: CIHP_PGN-master/test_pgn.py  \n",
            "  inflating: CIHP_PGN-master/make_dataset.py  \n",
            "  inflating: CIHP_PGN-master/openpose_file.py  \n",
            "  inflating: CIHP_PGN-master/openpose.bin  \n",
            "  inflating: CIHP_PGN-master/demo.py  \n",
            "  inflating: CIHP_PGN-master/application.py  \n",
            "  inflating: CIHP_PGN-master/temp.jpg  \n",
            "  inflating: CIHP_PGN-master/removebg_1.3.0_linux_amd64.deb  \n",
            "  inflating: CIHP_PGN-master/temp-removebg.png  \n",
            "  inflating: CIHP_PGN-master/temp_mask.png  \n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "vlSj9aPb4pXw",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 34
        },
        "outputId": "71e425c3-84ba-4065-f644-dd0c191d86e8"
      },
      "source": [
        "%cd CIHP_PGN-master/"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "/content/CIHP_PGN-master\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "OCI3L9iMVP9n",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 34
        },
        "outputId": "d908c19c-0fb3-4959-de64-c3dfb7b7bf4c"
      },
      "source": [
        "%tensorflow_version 1.x"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "TensorFlow 1.x selected.\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "-vs6pQA88YzA",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 272
        },
        "outputId": "54e2dc71-86f2-48d8-b528-d652a052e167"
      },
      "source": [
        "!pip install flask_ngrok"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "Collecting flask_ngrok\n",
            "  Downloading https://files.pythonhosted.org/packages/af/6c/f54cb686ad1129e27d125d182f90f52b32f284e6c8df58c1bae54fa1adbc/flask_ngrok-0.0.25-py3-none-any.whl\n",
            "Requirement already satisfied: Flask>=0.8 in /usr/local/lib/python3.6/dist-packages (from flask_ngrok) (1.1.2)\n",
            "Requirement already satisfied: requests in /usr/local/lib/python3.6/dist-packages (from flask_ngrok) (2.23.0)\n",
            "Requirement already satisfied: Werkzeug>=0.15 in /usr/local/lib/python3.6/dist-packages (from Flask>=0.8->flask_ngrok) (1.0.1)\n",
            "Requirement already satisfied: Jinja2>=2.10.1 in /usr/local/lib/python3.6/dist-packages (from Flask>=0.8->flask_ngrok) (2.11.2)\n",
            "Requirement already satisfied: itsdangerous>=0.24 in /usr/local/lib/python3.6/dist-packages (from Flask>=0.8->flask_ngrok) (1.1.0)\n",
            "Requirement already satisfied: click>=5.1 in /usr/local/lib/python3.6/dist-packages (from Flask>=0.8->flask_ngrok) (7.1.2)\n",
            "Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from requests->flask_ngrok) (1.24.3)\n",
            "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/dist-packages (from requests->flask_ngrok) (2020.6.20)\n",
            "Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.6/dist-packages (from requests->flask_ngrok) (3.0.4)\n",
            "Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.6/dist-packages (from requests->flask_ngrok) (2.10)\n",
            "Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.6/dist-packages (from Jinja2>=2.10.1->Flask>=0.8->flask_ngrok) (1.1.1)\n",
            "Installing collected packages: flask-ngrok\n",
            "Successfully installed flask-ngrok-0.0.25\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "IQOwZzziIuma",
        "colab_type": "text"
      },
      "source": [
        "# Removebg installation\n"
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "2cFpXQyUBU9b",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 255
        },
        "outputId": "305a9363-1c45-4855-db40-57b54ac92380"
      },
      "source": [
        "!curl -LO $(curl https://api.github.com/repos/remove-bg/go/releases/latest | grep -o \"https://github.com/remove-bg/go/releases/download/.*linux_amd64.deb\")\n",
        "!dpkg -i removebg*.deb"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n",
            "                                 Dload  Upload   Total   Spent    Left  Speed\n",
            "\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 19904    0 19904    0     0   110k      0 --:--:-- --:--:-- --:--:--  111k\n",
            "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n",
            "                                 Dload  Upload   Total   Spent    Left  Speed\n",
            "100   643  100   643    0     0   2976      0 --:--:-- --:--:-- --:--:--  2963\n",
            "100 3201k  100 3201k    0     0  2776k      0  0:00:01  0:00:01 --:--:-- 2776k\n",
            "\u001b[1mdpkg:\u001b[0m \u001b[1;33mwarning:\u001b[0m parsing file '/var/lib/dpkg/tmp.ci/control' near line 10 package 'removebg':\n",
            " missing maintainer\n",
            "Selecting previously unselected package removebg.\n",
            "(Reading database ... 144465 files and directories currently installed.)\n",
            "Preparing to unpack removebg_1.3.0_linux_amd64.deb ...\n",
            "Unpacking removebg (1.3.0) ...\n",
            "Setting up removebg (1.3.0) ...\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "x4EPeFCB8vVQ",
        "colab_type": "text"
      },
      "source": [
        "# Running app\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "BpJrnowjQc4x",
        "colab_type": "text"
      },
      "source": [
        "# Using https://www.remove.bg/ api"
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "P8abUF8p8u10",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 1000
        },
        "outputId": "34cddcb7-f3f3-4f02-8188-b451b248ea91"
      },
      "source": [
        "!python application.py"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "WARNING:tensorflow:\n",
            "The TensorFlow contrib module will not be included in TensorFlow 2.0.\n",
            "For more information, please see:\n",
            "  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md\n",
            "  * https://github.com/tensorflow/addons\n",
            "  * https://github.com/tensorflow/io (for I/O related ops)\n",
            "If you depend on functionality not listed there, please file an issue.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/utils/image_reader.py:235: slice_input_producer (from tensorflow.python.training.input) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.from_tensor_slices(tuple(tensor_list)).shuffle(tf.shape(input_tensor, out_type=tf.int64)[0]).repeat(num_epochs)`. If `shuffle=False`, omit the `.shuffle(...)`.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/input.py:373: range_input_producer (from tensorflow.python.training.input) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.range(limit).shuffle(limit).repeat(num_epochs)`. If `shuffle=False`, omit the `.shuffle(...)`.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/input.py:319: input_producer (from tensorflow.python.training.input) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.from_tensor_slices(input_tensor).shuffle(tf.shape(input_tensor, out_type=tf.int64)[0]).repeat(num_epochs)`. If `shuffle=False`, omit the `.shuffle(...)`.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/input.py:189: limit_epochs (from tensorflow.python.training.input) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.from_tensors(tensor).repeat(num_epochs)`.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/input.py:198: QueueRunner.__init__ (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "To construct input pipelines, use the `tf.data` module.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/input.py:198: add_queue_runner (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "To construct input pipelines, use the `tf.data` module.\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/utils/image_reader.py:175: The name tf.read_file is deprecated. Please use tf.io.read_file instead.\n",
            "\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/util/dispatch.py:180: calling expand_dims (from tensorflow.python.ops.array_ops) with dim is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Use the `axis` argument instead\n",
            "WARNING:tensorflow:From application.py:159: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Use `tf.cast` instead.\n",
            "WARNING:tensorflow:From application.py:160: The name tf.image.resize_images is deprecated. Please use tf.image.resize instead.\n",
            "\n",
            "WARNING:tensorflow:From application.py:160: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Use `tf.cast` instead.\n",
            "WARNING:tensorflow:From application.py:167: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:45: The name tf.placeholder_with_default is deprecated. Please use tf.compat.v1.placeholder_with_default instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:104: The name tf.get_variable is deprecated. Please use tf.compat.v1.get_variable instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:205: The name tf.nn.max_pool is deprecated. Please use tf.nn.max_pool2d instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:295: The name tf.nn.avg_pool is deprecated. Please use tf.nn.avg_pool2d instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:302: The name tf.image.resize_bilinear is deprecated. Please use tf.compat.v1.image.resize_bilinear instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:283: calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Please use `rate` instead of `keep_prob`. Rate should be set to `rate = 1 - keep_prob`.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/ops/metrics_impl.py:1177: where (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Use tf.where in 2.0, which has the same broadcast rule as np.where\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/ops/metrics_impl.py:1178: div (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Deprecated in favor of operator or tf.math.divide.\n",
            "WARNING:tensorflow:From application.py:259: streaming_accuracy (from tensorflow.contrib.metrics.python.ops.metric_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Please switch to tf.metrics.accuracy. Note that the order of the labels and predictions arguments has been switched.\n",
            "WARNING:tensorflow:From application.py:262: streaming_recall (from tensorflow.contrib.metrics.python.ops.metric_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Please switch to tf.metrics.recall. Note that the order of the labels and predictions arguments has been switched.\n",
            "WARNING:tensorflow:From application.py:263: streaming_precision (from tensorflow.contrib.metrics.python.ops.metric_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Please switch to tf.metrics.precision. Note that the order of the labels and predictions arguments has been switched.\n",
            "WARNING:tensorflow:From application.py:268: The name tf.global_variables is deprecated. Please use tf.compat.v1.global_variables instead.\n",
            "\n",
            "WARNING:tensorflow:From application.py:270: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.\n",
            "\n",
            "WARNING:tensorflow:From application.py:272: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.\n",
            "\n",
            "2020-07-17 18:33:52.367926: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2199995000 Hz\n",
            "2020-07-17 18:33:52.368151: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x45de380 initialized for platform Host (this does not guarantee that XLA will be used). Devices:\n",
            "2020-07-17 18:33:52.368187: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version\n",
            "2020-07-17 18:33:52.370781: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1\n",
            "2020-07-17 18:33:52.447170: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:33:52.447968: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xfdd4a80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:\n",
            "2020-07-17 18:33:52.447999: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Tesla K80, Compute Capability 3.7\n",
            "2020-07-17 18:33:52.448154: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:33:52.448969: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Found device 0 with properties: \n",
            "name: Tesla K80 major: 3 minor: 7 memoryClockRate(GHz): 0.8235\n",
            "pciBusID: 0000:00:04.0\n",
            "2020-07-17 18:33:52.449102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1\n",
            "2020-07-17 18:33:52.451040: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10\n",
            "2020-07-17 18:33:52.453310: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10\n",
            "2020-07-17 18:33:52.453707: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10\n",
            "2020-07-17 18:33:52.456157: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10\n",
            "2020-07-17 18:33:52.457226: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10\n",
            "2020-07-17 18:33:52.462532: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7\n",
            "2020-07-17 18:33:52.462678: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:33:52.463601: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:33:52.464237: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1767] Adding visible gpu devices: 0\n",
            "2020-07-17 18:33:54.548758: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1180] Device interconnect StreamExecutor with strength 1 edge matrix:\n",
            "2020-07-17 18:33:54.548833: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1186]      0 \n",
            "2020-07-17 18:33:54.548855: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1199] 0:   N \n",
            "2020-07-17 18:33:54.549168: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:33:54.549964: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:33:54.550705: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1325] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10570 MB memory) -> physical GPU (device: 0, name: Tesla K80, pci bus id: 0000:00:04.0, compute capability: 3.7)\n",
            "WARNING:tensorflow:From application.py:273: The name tf.global_variables_initializer is deprecated. Please use tf.compat.v1.global_variables_initializer instead.\n",
            "\n",
            "WARNING:tensorflow:From application.py:276: The name tf.local_variables_initializer is deprecated. Please use tf.compat.v1.local_variables_initializer instead.\n",
            "\n",
            "WARNING:tensorflow:From application.py:279: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.\n",
            "\n",
            "Restored model parameters from model.ckpt-593292\n",
            " [*] Load SUCCESS\n",
            "WARNING:tensorflow:From application.py:287: start_queue_runners (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "To construct input pipelines, use the `tf.data` module.\n",
            "Namespace(G_GAN=1, G_VGG=1, G_nn=1, batch_size_t=128, batch_size_v=16, beta1=0.5, dataroot=False, dataset='MPV', dataset_mode='regular', decay_iters=10, epoch=200, face_L1=10, face_gan=3, face_img_L1=1, face_residual=False, face_vgg=1, fine_height=256, fine_width=192, forward='normal', forward_save_path='end2end', gan_mode='lsgan', gpu_ids=[0, 1, 2, 3], grid_size=5, init_gain=0.02, init_type='normal', input_nc_D_app=6, input_nc_D_face=6, input_nc_D_parsing=56, input_nc_G_app=26, input_nc_G_face=6, input_nc_G_parsing=36, isdemo=False, isval=False, joint=False, joint_G_parsing=1, joint_all=False, joint_parse_loss=False, lambda_L1=1, lr=0.0002, mask=1, mask_tvloss=False, momentum=0.9, n_layers_D=3, ndf=64, netD_app='resnet_blocks', netD_face='resnet_blocks', netD_parsing='basic', netG_app='treeresnet', netG_face='treeresnet', netG_parsing='unet_256', ngf=64, no_dropout=False, norm='instance', num_workers=16, output_nc_app=4, output_nc_face=3, output_nc_parsing=20, pool_size=100, print_freq=10, resume_D_app='', resume_D_face='', resume_D_parse='', resume_G_app='pretrained_checkpoint/app.tar', resume_G_face='pretrained_checkpoint/face.tar', resume_G_parse='pretrained_checkpoint/parsing.tar', resume_gmm='pretrained_checkpoint/step_009000.pth', save_epoch_freq=1, save_time=False, size=(256, 192), start_epoch=0, suffix='', train_mode='parsing', use_gmm=False, val_freq=200, warp_cloth=False, weight_decay=0.0001)\n",
            "initialization method [normal]\n",
            "initialization method [normal]\n",
            "initialize network with normal\n",
            "initialize network with normal\n",
            "initialize network with normal\n",
            "====================\n",
            "====================\n",
            "====================\n",
            "====================\n",
            "==>loaded model\n",
            " * Serving Flask app \"application\" (lazy loading)\n",
            " * Environment: production\n",
            "\u001b[31m   WARNING: This is a development server. Do not use it in a production deployment.\u001b[0m\n",
            "\u001b[2m   Use a production WSGI server instead.\u001b[0m\n",
            " * Debug mode: off\n",
            " * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)\n",
            " * Running on http://43b22a731c26.ngrok.io\n",
            " * Traffic stats available on http://127.0.0.1:4040\n",
            "127.0.0.1 - - [17/Jul/2020 18:34:13] \"\u001b[37mGET / HTTP/1.1\u001b[0m\" 200 -\n",
            "127.0.0.1 - - [17/Jul/2020 18:34:13] \"\u001b[37mGET /static/jumbotron-narrow.css HTTP/1.1\u001b[0m\" 200 -\n",
            "127.0.0.1 - - [17/Jul/2020 18:34:13] \"\u001b[37mGET /static/style.css HTTP/1.1\u001b[0m\" 200 -\n",
            "127.0.0.1 - - [17/Jul/2020 18:34:14] \"\u001b[33mGET /favicon.ico HTTP/1.1\u001b[0m\" 404 -\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "kmUIJJV_Qm2o",
        "colab_type": "text"
      },
      "source": [
        "#Using holistically-nested-edge-detection \n"
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "QUeZXYM4CMyf",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 85
        },
        "outputId": "e14644bd-c000-4cc8-b466-582e563bac80"
      },
      "source": [
        "!gdown https://drive.google.com/uc?id=1-C6XOAtU-FLZqEnQXOCx94w_wLqYuBnK"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "Downloading...\n",
            "From: https://drive.google.com/uc?id=1-C6XOAtU-FLZqEnQXOCx94w_wLqYuBnK\n",
            "To: /content/CIHP_PGN-master/application_holistic.py\n",
            "\r  0% 0.00/24.5k [00:00<?, ?B/s]\r100% 24.5k/24.5k [00:00<00:00, 9.14MB/s]\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "dRoddl21QmOw",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 1000
        },
        "outputId": "533423fd-b5cd-4379-e417-b3da340cc953"
      },
      "source": [
        "!python application_holistic.py"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "WARNING:tensorflow:\n",
            "The TensorFlow contrib module will not be included in TensorFlow 2.0.\n",
            "For more information, please see:\n",
            "  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md\n",
            "  * https://github.com/tensorflow/addons\n",
            "  * https://github.com/tensorflow/io (for I/O related ops)\n",
            "If you depend on functionality not listed there, please file an issue.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/utils/image_reader.py:235: slice_input_producer (from tensorflow.python.training.input) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.from_tensor_slices(tuple(tensor_list)).shuffle(tf.shape(input_tensor, out_type=tf.int64)[0]).repeat(num_epochs)`. If `shuffle=False`, omit the `.shuffle(...)`.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/input.py:373: range_input_producer (from tensorflow.python.training.input) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.range(limit).shuffle(limit).repeat(num_epochs)`. If `shuffle=False`, omit the `.shuffle(...)`.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/input.py:319: input_producer (from tensorflow.python.training.input) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.from_tensor_slices(input_tensor).shuffle(tf.shape(input_tensor, out_type=tf.int64)[0]).repeat(num_epochs)`. If `shuffle=False`, omit the `.shuffle(...)`.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/input.py:189: limit_epochs (from tensorflow.python.training.input) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.from_tensors(tensor).repeat(num_epochs)`.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/input.py:198: QueueRunner.__init__ (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "To construct input pipelines, use the `tf.data` module.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/input.py:198: add_queue_runner (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "To construct input pipelines, use the `tf.data` module.\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/utils/image_reader.py:175: The name tf.read_file is deprecated. Please use tf.io.read_file instead.\n",
            "\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/util/dispatch.py:180: calling expand_dims (from tensorflow.python.ops.array_ops) with dim is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Use the `axis` argument instead\n",
            "WARNING:tensorflow:From application_holistic.py:158: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Use `tf.cast` instead.\n",
            "WARNING:tensorflow:From application_holistic.py:159: The name tf.image.resize_images is deprecated. Please use tf.image.resize instead.\n",
            "\n",
            "WARNING:tensorflow:From application_holistic.py:159: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Use `tf.cast` instead.\n",
            "WARNING:tensorflow:From application_holistic.py:166: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:45: The name tf.placeholder_with_default is deprecated. Please use tf.compat.v1.placeholder_with_default instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:104: The name tf.get_variable is deprecated. Please use tf.compat.v1.get_variable instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:205: The name tf.nn.max_pool is deprecated. Please use tf.nn.max_pool2d instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:295: The name tf.nn.avg_pool is deprecated. Please use tf.nn.avg_pool2d instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:302: The name tf.image.resize_bilinear is deprecated. Please use tf.compat.v1.image.resize_bilinear instead.\n",
            "\n",
            "WARNING:tensorflow:From /content/CIHP_PGN-master/kaffe/tensorflow/network.py:283: calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Please use `rate` instead of `keep_prob`. Rate should be set to `rate = 1 - keep_prob`.\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/ops/metrics_impl.py:1177: where (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Use tf.where in 2.0, which has the same broadcast rule as np.where\n",
            "WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/ops/metrics_impl.py:1178: div (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Deprecated in favor of operator or tf.math.divide.\n",
            "WARNING:tensorflow:From application_holistic.py:258: streaming_accuracy (from tensorflow.contrib.metrics.python.ops.metric_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Please switch to tf.metrics.accuracy. Note that the order of the labels and predictions arguments has been switched.\n",
            "WARNING:tensorflow:From application_holistic.py:261: streaming_recall (from tensorflow.contrib.metrics.python.ops.metric_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Please switch to tf.metrics.recall. Note that the order of the labels and predictions arguments has been switched.\n",
            "WARNING:tensorflow:From application_holistic.py:262: streaming_precision (from tensorflow.contrib.metrics.python.ops.metric_ops) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "Please switch to tf.metrics.precision. Note that the order of the labels and predictions arguments has been switched.\n",
            "WARNING:tensorflow:From application_holistic.py:267: The name tf.global_variables is deprecated. Please use tf.compat.v1.global_variables instead.\n",
            "\n",
            "WARNING:tensorflow:From application_holistic.py:269: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.\n",
            "\n",
            "WARNING:tensorflow:From application_holistic.py:271: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.\n",
            "\n",
            "2020-07-17 18:32:08.120812: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2199995000 Hz\n",
            "2020-07-17 18:32:08.121039: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5072380 initialized for platform Host (this does not guarantee that XLA will be used). Devices:\n",
            "2020-07-17 18:32:08.121074: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version\n",
            "2020-07-17 18:32:08.123113: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1\n",
            "2020-07-17 18:32:08.198686: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:32:08.199635: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x10868a80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:\n",
            "2020-07-17 18:32:08.199666: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Tesla K80, Compute Capability 3.7\n",
            "2020-07-17 18:32:08.199864: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:32:08.200542: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Found device 0 with properties: \n",
            "name: Tesla K80 major: 3 minor: 7 memoryClockRate(GHz): 0.8235\n",
            "pciBusID: 0000:00:04.0\n",
            "2020-07-17 18:32:08.200656: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1\n",
            "2020-07-17 18:32:08.202658: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10\n",
            "2020-07-17 18:32:08.204745: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10\n",
            "2020-07-17 18:32:08.205125: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10\n",
            "2020-07-17 18:32:08.207410: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10\n",
            "2020-07-17 18:32:08.208391: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10\n",
            "2020-07-17 18:32:08.213003: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7\n",
            "2020-07-17 18:32:08.213116: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:32:08.213916: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:32:08.214470: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1767] Adding visible gpu devices: 0\n",
            "2020-07-17 18:32:10.269626: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1180] Device interconnect StreamExecutor with strength 1 edge matrix:\n",
            "2020-07-17 18:32:10.269687: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1186]      0 \n",
            "2020-07-17 18:32:10.269705: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1199] 0:   N \n",
            "2020-07-17 18:32:10.269971: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:32:10.270732: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\n",
            "2020-07-17 18:32:10.271365: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1325] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10570 MB memory) -> physical GPU (device: 0, name: Tesla K80, pci bus id: 0000:00:04.0, compute capability: 3.7)\n",
            "WARNING:tensorflow:From application_holistic.py:272: The name tf.global_variables_initializer is deprecated. Please use tf.compat.v1.global_variables_initializer instead.\n",
            "\n",
            "WARNING:tensorflow:From application_holistic.py:275: The name tf.local_variables_initializer is deprecated. Please use tf.compat.v1.local_variables_initializer instead.\n",
            "\n",
            "WARNING:tensorflow:From application_holistic.py:278: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.\n",
            "\n",
            "Restored model parameters from model.ckpt-593292\n",
            " [*] Load SUCCESS\n",
            "WARNING:tensorflow:From application_holistic.py:286: start_queue_runners (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.\n",
            "Instructions for updating:\n",
            "To construct input pipelines, use the `tf.data` module.\n",
            "[INFO] loading edge detector...\n",
            "Namespace(G_GAN=1, G_VGG=1, G_nn=1, batch_size_t=128, batch_size_v=16, beta1=0.5, dataroot=False, dataset='MPV', dataset_mode='regular', decay_iters=10, epoch=200, face_L1=10, face_gan=3, face_img_L1=1, face_residual=False, face_vgg=1, fine_height=256, fine_width=192, forward='normal', forward_save_path='end2end', gan_mode='lsgan', gpu_ids=[0, 1, 2, 3], grid_size=5, init_gain=0.02, init_type='normal', input_nc_D_app=6, input_nc_D_face=6, input_nc_D_parsing=56, input_nc_G_app=26, input_nc_G_face=6, input_nc_G_parsing=36, isdemo=False, isval=False, joint=False, joint_G_parsing=1, joint_all=False, joint_parse_loss=False, lambda_L1=1, lr=0.0002, mask=1, mask_tvloss=False, momentum=0.9, n_layers_D=3, ndf=64, netD_app='resnet_blocks', netD_face='resnet_blocks', netD_parsing='basic', netG_app='treeresnet', netG_face='treeresnet', netG_parsing='unet_256', ngf=64, no_dropout=False, norm='instance', num_workers=16, output_nc_app=4, output_nc_face=3, output_nc_parsing=20, pool_size=100, print_freq=10, resume_D_app='', resume_D_face='', resume_D_parse='', resume_G_app='pretrained_checkpoint/app.tar', resume_G_face='pretrained_checkpoint/face.tar', resume_G_parse='pretrained_checkpoint/parsing.tar', resume_gmm='pretrained_checkpoint/step_009000.pth', save_epoch_freq=1, save_time=False, size=(256, 192), start_epoch=0, suffix='', train_mode='parsing', use_gmm=False, val_freq=200, warp_cloth=False, weight_decay=0.0001)\n",
            "initialization method [normal]\n",
            "initialization method [normal]\n",
            "initialize network with normal\n",
            "initialize network with normal\n",
            "initialize network with normal\n",
            "====================\n",
            "====================\n",
            "====================\n",
            "====================\n",
            "==>loaded model\n",
            " * Serving Flask app \"application_holistic\" (lazy loading)\n",
            " * Environment: production\n",
            "\u001b[31m   WARNING: This is a development server. Do not use it in a production deployment.\u001b[0m\n",
            "\u001b[2m   Use a production WSGI server instead.\u001b[0m\n",
            " * Debug mode: off\n",
            " * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)\n",
            " * Running on http://78a4aeb2a2cd.ngrok.io\n",
            " * Traffic stats available on http://127.0.0.1:4040\n",
            "127.0.0.1 - - [17/Jul/2020 18:32:37] \"\u001b[37mGET / HTTP/1.1\u001b[0m\" 200 -\n",
            "127.0.0.1 - - [17/Jul/2020 18:32:37] \"\u001b[37mGET /static/jumbotron-narrow.css HTTP/1.1\u001b[0m\" 200 -\n",
            "127.0.0.1 - - [17/Jul/2020 18:32:37] \"\u001b[37mGET /static/style.css HTTP/1.1\u001b[0m\" 200 -\n",
            "127.0.0.1 - - [17/Jul/2020 18:32:38] \"\u001b[33mGET /favicon.ico HTTP/1.1\u001b[0m\" 404 -\n",
            "File name: Girls-Top-SDL352205906-1-90a5c.jpg\n",
            "File accepted\n",
            "[INFO] performing holistically-nested edge detection...\n",
            "/usr/local/lib/python3.6/dist-packages/torch/nn/functional.py:3226: UserWarning: Default grid_sample and affine_grid behavior has changed to align_corners=False since 1.3.0. Please specify align_corners=True if the old behavior is desired. See the documentation of grid_sample for details.\n",
            "  warnings.warn(\"Default grid_sample and affine_grid behavior has changed \"\n",
            "/usr/local/lib/python3.6/dist-packages/torch/nn/functional.py:1558: UserWarning: nn.functional.tanh is deprecated. Use torch.tanh instead.\n",
            "  warnings.warn(\"nn.functional.tanh is deprecated. Use torch.tanh instead.\")\n",
            "/usr/local/lib/python3.6/dist-packages/torch/nn/functional.py:1569: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.\n",
            "  warnings.warn(\"nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.\")\n",
            "127.0.0.1 - - [17/Jul/2020 18:33:03] \"\u001b[37mPOST /upload HTTP/1.1\u001b[0m\" 200 -\n",
            "Error in atexit._run_exitfuncs:\n",
            "Traceback (most recent call last):\n",
            "  File \"/usr/lib/python3.6/concurrent/futures/thread.py\", line 36, in _python_exit\n",
            "    items = list(_threads_queues.items())\n",
            "  File \"/usr/lib/python3.6/weakref.py\", line 439, in items\n",
            "    with _IterationGuard(self):\n",
            "KeyboardInterrupt\n",
            "^C\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "bPleAvPA5bPr",
        "colab_type": "text"
      },
      "source": [
        "# Openpose installation"
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "nMGji2gXyCiT",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 34
        },
        "outputId": "67a23635-2343-4328-e0db-58c86c230842"
      },
      "source": [
        "%cd \"/content\""
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "/content\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "2fLFSdRuyHeV",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 1000
        },
        "outputId": "35410ae1-4e3c-461f-d354-3329b728aa7d"
      },
      "source": [
        "import os\n",
        "from os.path import exists, join, basename, splitext\n",
        "\n",
        "git_repo_url = 'https://github.com/CMU-Perceptual-Computing-Lab/openpose.git'\n",
        "project_name = splitext(basename(git_repo_url))[0]\n",
        "if not exists(project_name):\n",
        "  # see: https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/949\n",
        "  # install new CMake becaue of CUDA10\n",
        "  !wget -q https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.tar.gz\n",
        "  !tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local\n",
        "  # clone openpose\n",
        "  !git clone -q --depth 1 $git_repo_url\n",
        "  !sed -i 's/execute_process(COMMAND git checkout master WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}\\/3rdparty\\/caffe)/execute_process(COMMAND git checkout f019d0dfe86f49d1140961f8c7dec22130c83154 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}\\/3rdparty\\/caffe)/g' openpose/CMakeLists.txt\n",
        "  # install system dependencies\n",
        "  !apt-get -qq install -y libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler libgflags-dev libgoogle-glog-dev liblmdb-dev opencl-headers ocl-icd-opencl-dev libviennacl-dev\n",
        "  # install python dependencies\n",
        "  !pip install -q youtube-dl\n",
        "  %cd openpose\n",
        "  #Included updated bash numbers for CMakeLists.txt for model files downloaded\n",
        "  !gdown https://drive.google.com/uc?id=1h6BbG5TsdQlHFIqVp65s1ARNcs4UA12i\n",
        "  %cd ..\n",
        "  # build openpose\n",
        "  !cd openpose && rm -rf build || true && mkdir build && cd build && cmake .. && make -j`nproc`\n",
        "  \n",
        "from IPython.display import YouTubeVideo"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "Selecting previously unselected package libgflags2.2.\n",
            "(Reading database ... 144487 files and directories currently installed.)\n",
            "Preparing to unpack .../00-libgflags2.2_2.2.1-1_amd64.deb ...\n",
            "Unpacking libgflags2.2 (2.2.1-1) ...\n",
            "Selecting previously unselected package libgflags-dev.\n",
            "Preparing to unpack .../01-libgflags-dev_2.2.1-1_amd64.deb ...\n",
            "Unpacking libgflags-dev (2.2.1-1) ...\n",
            "Selecting previously unselected package libgoogle-glog0v5.\n",
            "Preparing to unpack .../02-libgoogle-glog0v5_0.3.5-1_amd64.deb ...\n",
            "Unpacking libgoogle-glog0v5 (0.3.5-1) ...\n",
            "Selecting previously unselected package libgoogle-glog-dev.\n",
            "Preparing to unpack .../03-libgoogle-glog-dev_0.3.5-1_amd64.deb ...\n",
            "Unpacking libgoogle-glog-dev (0.3.5-1) ...\n",
            "Selecting previously unselected package libhdf5-serial-dev.\n",
            "Preparing to unpack .../04-libhdf5-serial-dev_1.10.0-patch1+docs-4_all.deb ...\n",
            "Unpacking libhdf5-serial-dev (1.10.0-patch1+docs-4) ...\n",
            "Selecting previously unselected package libleveldb1v5:amd64.\n",
            "Preparing to unpack .../05-libleveldb1v5_1.20-2_amd64.deb ...\n",
            "Unpacking libleveldb1v5:amd64 (1.20-2) ...\n",
            "Selecting previously unselected package libleveldb-dev:amd64.\n",
            "Preparing to unpack .../06-libleveldb-dev_1.20-2_amd64.deb ...\n",
            "Unpacking libleveldb-dev:amd64 (1.20-2) ...\n",
            "Selecting previously unselected package liblmdb0:amd64.\n",
            "Preparing to unpack .../07-liblmdb0_0.9.21-1ubuntu0.1_amd64.deb ...\n",
            "Unpacking liblmdb0:amd64 (0.9.21-1ubuntu0.1) ...\n",
            "Selecting previously unselected package liblmdb-dev:amd64.\n",
            "Preparing to unpack .../08-liblmdb-dev_0.9.21-1ubuntu0.1_amd64.deb ...\n",
            "Unpacking liblmdb-dev:amd64 (0.9.21-1ubuntu0.1) ...\n",
            "Selecting previously unselected package libprotobuf-lite10:amd64.\n",
            "Preparing to unpack .../09-libprotobuf-lite10_3.0.0-9.1ubuntu1_amd64.deb ...\n",
            "Unpacking libprotobuf-lite10:amd64 (3.0.0-9.1ubuntu1) ...\n",
            "Selecting previously unselected package lmdb-doc.\n",
            "Preparing to unpack .../10-lmdb-doc_0.9.21-1ubuntu0.1_all.deb ...\n",
            "Unpacking lmdb-doc (0.9.21-1ubuntu0.1) ...\n",
            "Selecting previously unselected package libprotobuf-dev:amd64.\n",
            "Preparing to unpack .../11-libprotobuf-dev_3.0.0-9.1ubuntu1_amd64.deb ...\n",
            "Unpacking libprotobuf-dev:amd64 (3.0.0-9.1ubuntu1) ...\n",
            "Selecting previously unselected package libsnappy-dev:amd64.\n",
            "Preparing to unpack .../12-libsnappy-dev_1.1.7-1_amd64.deb ...\n",
            "Unpacking libsnappy-dev:amd64 (1.1.7-1) ...\n",
            "Selecting previously unselected package libviennacl-dev.\n",
            "Preparing to unpack .../13-libviennacl-dev_1.7.1+dfsg1-2ubuntu1_all.deb ...\n",
            "Unpacking libviennacl-dev (1.7.1+dfsg1-2ubuntu1) ...\n",
            "Selecting previously unselected package opencl-clhpp-headers.\n",
            "Preparing to unpack .../14-opencl-clhpp-headers_2.0.10+git12-g5dd8bb9-1_all.deb ...\n",
            "Unpacking opencl-clhpp-headers (2.0.10+git12-g5dd8bb9-1) ...\n",
            "Selecting previously unselected package opencl-headers.\n",
            "Preparing to unpack .../15-opencl-headers_2.2~2018.02.21-gb5c3680-1_all.deb ...\n",
            "Unpacking opencl-headers (2.2~2018.02.21-gb5c3680-1) ...\n",
            "Setting up libviennacl-dev (1.7.1+dfsg1-2ubuntu1) ...\n",
            "Setting up libgflags2.2 (2.2.1-1) ...\n",
            "Setting up libgflags-dev (2.2.1-1) ...\n",
            "Setting up liblmdb0:amd64 (0.9.21-1ubuntu0.1) ...\n",
            "Setting up opencl-clhpp-headers (2.0.10+git12-g5dd8bb9-1) ...\n",
            "Setting up libleveldb1v5:amd64 (1.20-2) ...\n",
            "Setting up libhdf5-serial-dev (1.10.0-patch1+docs-4) ...\n",
            "Setting up libsnappy-dev:amd64 (1.1.7-1) ...\n",
            "Setting up libgoogle-glog0v5 (0.3.5-1) ...\n",
            "Setting up liblmdb-dev:amd64 (0.9.21-1ubuntu0.1) ...\n",
            "Setting up lmdb-doc (0.9.21-1ubuntu0.1) ...\n",
            "Setting up libprotobuf-lite10:amd64 (3.0.0-9.1ubuntu1) ...\n",
            "Setting up opencl-headers (2.2~2018.02.21-gb5c3680-1) ...\n",
            "Setting up libprotobuf-dev:amd64 (3.0.0-9.1ubuntu1) ...\n",
            "Setting up libleveldb-dev:amd64 (1.20-2) ...\n",
            "Setting up libgoogle-glog-dev (0.3.5-1) ...\n",
            "Processing triggers for man-db (2.8.3-2ubuntu0.1) ...\n",
            "Processing triggers for libc-bin (2.27-3ubuntu1) ...\n",
            "/sbin/ldconfig.real: /usr/local/lib/python3.6/dist-packages/ideep4py/lib/libmkldnn.so.0 is not a symbolic link\n",
            "\n",
            "\u001b[K     |████████████████████████████████| 1.8MB 5.3MB/s \n",
            "\u001b[?25h/content/openpose\n",
            "Downloading...\n",
            "From: https://drive.google.com/uc?id=1h6BbG5TsdQlHFIqVp65s1ARNcs4UA12i\n",
            "To: /content/openpose/CMakeLists.txt\n",
            "100% 43.5k/43.5k [00:00<00:00, 38.4MB/s]\n",
            "/content\n",
            "-- The C compiler identification is GNU 7.5.0\n",
            "-- The CXX compiler identification is GNU 7.5.0\n",
            "-- Check for working C compiler: /usr/bin/cc\n",
            "-- Check for working C compiler: /usr/bin/cc -- works\n",
            "-- Detecting C compiler ABI info\n",
            "-- Detecting C compiler ABI info - done\n",
            "-- Detecting C compile features\n",
            "-- Detecting C compile features - done\n",
            "-- Check for working CXX compiler: /usr/bin/c++\n",
            "-- Check for working CXX compiler: /usr/bin/c++ -- works\n",
            "-- Detecting CXX compiler ABI info\n",
            "-- Detecting CXX compiler ABI info - done\n",
            "-- Detecting CXX compile features\n",
            "-- Detecting CXX compile features - done\n",
            "-- GCC detected, adding compile flags\n",
            "-- GCC detected, adding compile flags\n",
            "-- Looking for pthread.h\n",
            "-- Looking for pthread.h - found\n",
            "-- Looking for pthread_create\n",
            "-- Looking for pthread_create - not found\n",
            "-- Looking for pthread_create in pthreads\n",
            "-- Looking for pthread_create in pthreads - not found\n",
            "-- Looking for pthread_create in pthread\n",
            "-- Looking for pthread_create in pthread - found\n",
            "-- Found Threads: TRUE  \n",
            "-- Found CUDA: /usr/local/cuda (found version \"10.1\") \n",
            "-- Building with CUDA.\n",
            "-- CUDA detected: 10.1\n",
            "-- Found cuDNN: ver. 7.6.5 found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)\n",
            "-- Added CUDA NVCC flags for: sm_75\n",
            "-- Found cuDNN: ver. 7.6.5 found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)\n",
            "-- Found GFlags: /usr/include  \n",
            "-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)\n",
            "-- Found Glog: /usr/include  \n",
            "-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)\n",
            "-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version \"3.0.0\") \n",
            "-- Found OpenCV: /usr (found version \"3.2.0\") \n",
            "-- Caffe will be downloaded from source now. NOTE: This process might take several minutes depending\n",
            "        on your internet connection.\n",
            "Submodule '3rdparty/caffe' (https://github.com/CMU-Perceptual-Computing-Lab/caffe.git) registered for path '../3rdparty/caffe'\n",
            "Cloning into '/content/openpose/3rdparty/caffe'...\n",
            "Submodule path '../3rdparty/caffe': checked out 'b5ede488952e40861e84e51a9f9fd8fe2395cc8a'\n",
            "Previous HEAD position was b5ede488 Added TX2 JetPack3.3 support\n",
            "HEAD is now at c95002fb Added support for newer GPUs\n",
            "-- Caffe will be built from source now.\n",
            "-- Download the models.\n",
            "-- Downloading BODY_25 model...\n",
            "-- NOTE: This process might take several minutes depending on your internet connection.\n",
            "-- Not downloading body (COCO) model\n",
            "-- Not downloading body (MPI) model\n",
            "-- Downloading face model...\n",
            "-- NOTE: This process might take several minutes depending on your internet connection.\n",
            "-- Downloading hand model...\n",
            "-- NOTE: This process might take several minutes depending on your internet connection.\n",
            "-- Models Downloaded.\n",
            "-- Configuring done\n",
            "-- Generating done\n",
            "-- Build files have been written to: /content/openpose/build\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_lib\u001b[0m\n",
            "[ 12%] \u001b[34m\u001b[1mCreating directories for 'openpose_lib'\u001b[0m\n",
            "[ 25%] \u001b[34m\u001b[1mNo download step for 'openpose_lib'\u001b[0m\n",
            "[ 37%] \u001b[34m\u001b[1mNo patch step for 'openpose_lib'\u001b[0m\n",
            "[ 50%] \u001b[34m\u001b[1mNo update step for 'openpose_lib'\u001b[0m\n",
            "[ 62%] \u001b[34m\u001b[1mPerforming configure step for 'openpose_lib'\u001b[0m\n",
            "-- The C compiler identification is GNU 7.5.0\n",
            "-- The CXX compiler identification is GNU 7.5.0\n",
            "-- Check for working C compiler: /usr/bin/cc\n",
            "-- Check for working C compiler: /usr/bin/cc -- works\n",
            "-- Detecting C compiler ABI info\n",
            "-- Detecting C compiler ABI info - done\n",
            "-- Detecting C compile features\n",
            "-- Detecting C compile features - done\n",
            "-- Check for working CXX compiler: /usr/bin/c++\n",
            "-- Check for working CXX compiler: /usr/bin/c++ -- works\n",
            "-- Detecting CXX compiler ABI info\n",
            "-- Detecting CXX compiler ABI info - done\n",
            "-- Detecting CXX compile features\n",
            "-- Detecting CXX compile features - done\n",
            "-- Looking for pthread.h\n",
            "-- Looking for pthread.h - found\n",
            "-- Looking for pthread_create\n",
            "-- Looking for pthread_create - not found\n",
            "-- Looking for pthread_create in pthreads\n",
            "-- Looking for pthread_create in pthreads - not found\n",
            "-- Looking for pthread_create in pthread\n",
            "-- Looking for pthread_create in pthread - found\n",
            "-- Found Threads: TRUE  \n",
            "-- Boost version: 1.65.1\n",
            "-- Found the following Boost libraries:\n",
            "--   system\n",
            "--   thread\n",
            "--   filesystem\n",
            "--   chrono\n",
            "--   date_time\n",
            "--   atomic\n",
            "-- Found GFlags: /usr/include  \n",
            "-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)\n",
            "-- Found Glog: /usr/include  \n",
            "-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)\n",
            "-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version \"3.0.0\") \n",
            "-- Found PROTOBUF Compiler: /usr/bin/protoc\n",
            "-- HDF5: Using hdf5 compiler wrapper to determine C configuration\n",
            "-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration\n",
            "-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version \"1.10.0.1\") found components:  HL \n",
            "-- CUDA detected: 10.1\n",
            "-- Found cuDNN: ver. 7.6.5 found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)\n",
            "-- Added CUDA NVCC flags for: sm_75\n",
            "-- Found Atlas: /usr/include/x86_64-linux-gnu  \n",
            "-- Found Atlas (include: /usr/include/x86_64-linux-gnu library: /usr/lib/x86_64-linux-gnu/libatlas.so lapack: /usr/lib/x86_64-linux-gnu/liblapack.so\n",
            "-- Python interface is disabled or not all required dependencies found. Building without it...\n",
            "-- Found Git: /usr/bin/git (found version \"2.17.1\") \n",
            "-- \n",
            "-- ******************* Caffe Configuration Summary *******************\n",
            "-- General:\n",
            "--   Version           :   1.0.0\n",
            "--   Git               :   1.0-147-gc95002fb\n",
            "--   System            :   Linux\n",
            "--   C++ compiler      :   /usr/bin/c++\n",
            "--   Release CXX flags :   -O3 -DNDEBUG -fPIC -Wall -std=c++11 -Wno-sign-compare -Wno-uninitialized\n",
            "--   Debug CXX flags   :   -g -fPIC -Wall -std=c++11 -Wno-sign-compare -Wno-uninitialized\n",
            "--   Build type        :   Release\n",
            "-- \n",
            "--   BUILD_SHARED_LIBS :   ON\n",
            "--   BUILD_python      :   OFF\n",
            "--   BUILD_matlab      :   OFF\n",
            "--   BUILD_docs        :   OFF\n",
            "--   CPU_ONLY          :   OFF\n",
            "--   USE_OPENCV        :   OFF\n",
            "--   USE_LEVELDB       :   OFF\n",
            "--   USE_LMDB          :   OFF\n",
            "--   USE_NCCL          :   OFF\n",
            "--   ALLOW_LMDB_NOLOCK :   OFF\n",
            "--   USE_HDF5          :   ON\n",
            "-- \n",
            "-- Dependencies:\n",
            "--   BLAS              :   Yes (Atlas)\n",
            "--   Boost             :   Yes (ver. 1.65)\n",
            "--   glog              :   Yes\n",
            "--   gflags            :   Yes\n",
            "--   protobuf          :   Yes (ver. 3.0.0)\n",
            "--   CUDA              :   Yes (ver. 10.1)\n",
            "-- \n",
            "-- NVIDIA CUDA:\n",
            "--   Target GPU(s)     :   Auto\n",
            "--   GPU arch(s)       :   sm_75\n",
            "--   cuDNN             :   Yes (ver. 7.6.5)\n",
            "-- \n",
            "-- Install:\n",
            "--   Install path      :   /content/openpose/build/caffe\n",
            "-- \n",
            "-- Configuring done\n",
            "-- Generating done\n",
            "CMake Warning:\n",
            "  Manually-specified variables were not used by the project:\n",
            "\n",
            "    CUDA_ARCH_BIN\n",
            "\n",
            "\n",
            "-- Build files have been written to: /content/openpose/build/caffe/src/openpose_lib-build\n",
            "[ 75%] \u001b[34m\u001b[1mPerforming build step for 'openpose_lib'\u001b[0m\n",
            "[  1%] \u001b[34m\u001b[1mRunning C++/Python protocol buffer compiler on /content/openpose/3rdparty/caffe/src/caffe/proto/caffe.proto\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target caffeproto\u001b[0m\n",
            "[  1%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffeproto.dir/__/__/include/caffe/proto/caffe.pb.cc.o\u001b[0m\n",
            "[  1%] \u001b[32m\u001b[1mLinking CXX static library ../../lib/libcaffeproto.a\u001b[0m\n",
            "[  1%] Built target caffeproto\n",
            "[  1%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_math_functions.cu.o\u001b[0m\n",
            "[  1%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_absval_layer.cu.o\u001b[0m\n",
            "In file included from /content/openpose/3rdparty/caffe/src/caffe/util/math_functions.cu:1:0:\n",
            "/usr/local/cuda/include/math_functions.h:54:2: warning: #warning \"math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead.\" [-Wcpp]\n",
            " #warning \"math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead.\"\n",
            "  ^~~~~~~\n",
            "In file included from /content/openpose/3rdparty/caffe/src/caffe/util/math_functions.cu:1:0:\n",
            "/usr/local/cuda/include/math_functions.h:54:2: warning: #warning \"math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead.\" [-Wcpp]\n",
            " #warning \"math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead.\"\n",
            "  ^~~~~~~\n",
            "In file included from /content/openpose/3rdparty/caffe/src/caffe/util/math_functions.cu:1:0:\n",
            "/usr/local/cuda/include/math_functions.h:54:2: warning: #warning \"math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead.\" [-Wcpp]\n",
            " #warning \"math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead.\"\n",
            "  ^~~~~~~\n",
            "In file included from /content/openpose/3rdparty/caffe/src/caffe/util/math_functions.cu:1:0:\n",
            "/usr/local/cuda/include/math_functions.h:54:2: warning: #warning \"math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead.\" [-Wcpp]\n",
            " #warning \"math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead.\"\n",
            "  ^~~~~~~\n",
            "[  1%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_accuracy_layer.cu.o\u001b[0m\n",
            "[  2%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_base_data_layer.cu.o\u001b[0m\n",
            "[  2%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_norm_layer.cu.o\u001b[0m\n",
            "[  2%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_reindex_layer.cu.o\u001b[0m\n",
            "[  4%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bias_layer.cu.o\u001b[0m\n",
            "[  4%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bnll_layer.cu.o\u001b[0m\n",
            "[  5%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_clip_layer.cu.o\u001b[0m\n",
            "[  5%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_concat_layer.cu.o\u001b[0m\n",
            "[  5%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_contrastive_loss_layer.cu.o\u001b[0m\n",
            "[  6%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_conv_layer.cu.o\u001b[0m\n",
            "[  6%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_crop_layer.cu.o\u001b[0m\n",
            "[  6%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_conv_layer.cu.o\u001b[0m\n",
            "[  8%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_deconv_layer.cu.o\u001b[0m\n",
            "[  8%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lcn_layer.cu.o\u001b[0m\n",
            "[  9%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lrn_layer.cu.o\u001b[0m\n",
            "[  9%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_pooling_layer.cu.o\u001b[0m\n",
            "[  9%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_relu_layer.cu.o\u001b[0m\n",
            "[ 10%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_sigmoid_layer.cu.o\u001b[0m\n",
            "[ 10%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_softmax_layer.cu.o\u001b[0m\n",
            "[ 10%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_tanh_layer.cu.o\u001b[0m\n",
            "[ 12%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_deconv_layer.cu.o\u001b[0m\n",
            "[ 12%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_dropout_layer.cu.o\u001b[0m\n",
            "[ 13%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_eltwise_layer.cu.o\u001b[0m\n",
            "[ 13%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_elu_layer.cu.o\u001b[0m\n",
            "[ 13%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_embed_layer.cu.o\u001b[0m\n",
            "[ 15%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_euclidean_loss_layer.cu.o\u001b[0m\n",
            "[ 15%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_exp_layer.cu.o\u001b[0m\n",
            "[ 15%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_filter_layer.cu.o\u001b[0m\n",
            "[ 16%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_data_layer.cu.o\u001b[0m\n",
            "[ 16%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_output_layer.cu.o\u001b[0m\n",
            "[ 17%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_im2col_layer.cu.o\u001b[0m\n",
            "[ 17%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_inner_product_layer.cu.o\u001b[0m\n",
            "[ 17%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_log_layer.cu.o\u001b[0m\n",
            "[ 19%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lrn_layer.cu.o\u001b[0m\n",
            "[ 19%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lstm_unit_layer.cu.o\u001b[0m\n",
            "[ 19%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_mvn_layer.cu.o\u001b[0m\n",
            "[ 20%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_pooling_layer.cu.o\u001b[0m\n",
            "[ 20%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_power_layer.cu.o\u001b[0m\n",
            "[ 21%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_prelu_layer.cu.o\u001b[0m\n",
            "[ 21%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_recurrent_layer.cu.o\u001b[0m\n",
            "[ 21%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_reduction_layer.cu.o\u001b[0m\n",
            "[ 23%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_relu_layer.cu.o\u001b[0m\n",
            "[ 23%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_scale_layer.cu.o\u001b[0m\n",
            "[ 23%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_cross_entropy_loss_layer.cu.o\u001b[0m\n",
            "[ 24%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_layer.cu.o\u001b[0m\n",
            "[ 24%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_silence_layer.cu.o\u001b[0m\n",
            "[ 26%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_slice_layer.cu.o\u001b[0m\n",
            "[ 26%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_layer.cu.o\u001b[0m\n",
            "[ 26%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_loss_layer.cu.o\u001b[0m\n",
            "[ 27%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_split_layer.cu.o\u001b[0m\n",
            "[ 27%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_swish_layer.cu.o\u001b[0m\n",
            "[ 28%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tanh_layer.cu.o\u001b[0m\n",
            "[ 28%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_threshold_layer.cu.o\u001b[0m\n",
            "[ 28%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tile_layer.cu.o\u001b[0m\n",
            "[ 30%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adadelta_solver.cu.o\u001b[0m\n",
            "[ 30%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adagrad_solver.cu.o\u001b[0m\n",
            "[ 30%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adam_solver.cu.o\u001b[0m\n",
            "[ 31%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_nesterov_solver.cu.o\u001b[0m\n",
            "[ 31%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_rmsprop_solver.cu.o\u001b[0m\n",
            "[ 32%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_sgd_solver.cu.o\u001b[0m\n",
            "[ 32%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_im2col.cu.o\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target caffe\u001b[0m\n",
            "[ 32%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/common.cpp.o\u001b[0m\n",
            "[ 34%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/blob.cpp.o\u001b[0m\n",
            "[ 34%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/data_transformer.cpp.o\u001b[0m\n",
            "[ 35%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/internal_thread.cpp.o\u001b[0m\n",
            "[ 35%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layer.cpp.o\u001b[0m\n",
            "[ 36%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layer_factory.cpp.o\u001b[0m\n",
            "[ 36%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/absval_layer.cpp.o\u001b[0m\n",
            "[ 36%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/accuracy_layer.cpp.o\u001b[0m\n",
            "[ 38%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/argmax_layer.cpp.o\u001b[0m\n",
            "[ 38%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/base_conv_layer.cpp.o\u001b[0m\n",
            "[ 38%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/base_data_layer.cpp.o\u001b[0m\n",
            "[ 39%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/batch_norm_layer.cpp.o\u001b[0m\n",
            "[ 39%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/batch_reindex_layer.cpp.o\u001b[0m\n",
            "[ 41%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/bias_layer.cpp.o\u001b[0m\n",
            "[ 41%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/bnll_layer.cpp.o\u001b[0m\n",
            "[ 41%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/clip_layer.cpp.o\u001b[0m\n",
            "[ 42%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/concat_layer.cpp.o\u001b[0m\n",
            "[ 42%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/contrastive_loss_layer.cpp.o\u001b[0m\n",
            "[ 42%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/conv_layer.cpp.o\u001b[0m\n",
            "[ 43%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/crop_layer.cpp.o\u001b[0m\n",
            "[ 43%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_conv_layer.cpp.o\u001b[0m\n",
            "[ 45%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_deconv_layer.cpp.o\u001b[0m\n",
            "[ 45%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lcn_layer.cpp.o\u001b[0m\n",
            "[ 45%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lrn_layer.cpp.o\u001b[0m\n",
            "[ 46%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_pooling_layer.cpp.o\u001b[0m\n",
            "[ 46%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_relu_layer.cpp.o\u001b[0m\n",
            "[ 46%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_sigmoid_layer.cpp.o\u001b[0m\n",
            "[ 47%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_softmax_layer.cpp.o\u001b[0m\n",
            "[ 47%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_tanh_layer.cpp.o\u001b[0m\n",
            "[ 49%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/data_layer.cpp.o\u001b[0m\n",
            "[ 49%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/deconv_layer.cpp.o\u001b[0m\n",
            "[ 49%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/dropout_layer.cpp.o\u001b[0m\n",
            "[ 50%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/dummy_data_layer.cpp.o\u001b[0m\n",
            "[ 50%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/eltwise_layer.cpp.o\u001b[0m\n",
            "[ 50%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/elu_layer.cpp.o\u001b[0m\n",
            "[ 52%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/embed_layer.cpp.o\u001b[0m\n",
            "[ 52%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/euclidean_loss_layer.cpp.o\u001b[0m\n",
            "[ 53%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/exp_layer.cpp.o\u001b[0m\n",
            "[ 53%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/filter_layer.cpp.o\u001b[0m\n",
            "[ 53%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/flatten_layer.cpp.o\u001b[0m\n",
            "[ 54%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/hdf5_data_layer.cpp.o\u001b[0m\n",
            "[ 54%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/hdf5_output_layer.cpp.o\u001b[0m\n",
            "[ 56%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/hinge_loss_layer.cpp.o\u001b[0m\n",
            "[ 56%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/im2col_layer.cpp.o\u001b[0m\n",
            "[ 56%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/image_data_layer.cpp.o\u001b[0m\n",
            "[ 57%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/infogain_loss_layer.cpp.o\u001b[0m\n",
            "[ 57%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/inner_product_layer.cpp.o\u001b[0m\n",
            "[ 57%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/input_layer.cpp.o\u001b[0m\n",
            "[ 58%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/log_layer.cpp.o\u001b[0m\n",
            "[ 58%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/loss_layer.cpp.o\u001b[0m\n",
            "[ 60%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/lrn_layer.cpp.o\u001b[0m\n",
            "[ 60%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/lstm_layer.cpp.o\u001b[0m\n",
            "[ 60%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/lstm_unit_layer.cpp.o\u001b[0m\n",
            "[ 61%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/memory_data_layer.cpp.o\u001b[0m\n",
            "[ 61%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/multinomial_logistic_loss_layer.cpp.o\u001b[0m\n",
            "[ 61%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/mvn_layer.cpp.o\u001b[0m\n",
            "[ 63%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/neuron_layer.cpp.o\u001b[0m\n",
            "[ 63%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/parameter_layer.cpp.o\u001b[0m\n",
            "[ 64%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/pooling_layer.cpp.o\u001b[0m\n",
            "[ 64%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/power_layer.cpp.o\u001b[0m\n",
            "[ 64%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/prelu_layer.cpp.o\u001b[0m\n",
            "[ 65%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/recurrent_layer.cpp.o\u001b[0m\n",
            "[ 65%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/reduction_layer.cpp.o\u001b[0m\n",
            "[ 65%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/relu_layer.cpp.o\u001b[0m\n",
            "[ 67%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/reshape_layer.cpp.o\u001b[0m\n",
            "[ 67%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/rnn_layer.cpp.o\u001b[0m\n",
            "[ 68%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/scale_layer.cpp.o\u001b[0m\n",
            "[ 68%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_cross_entropy_loss_layer.cpp.o\u001b[0m\n",
            "[ 68%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_layer.cpp.o\u001b[0m\n",
            "[ 69%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/silence_layer.cpp.o\u001b[0m\n",
            "[ 69%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/slice_layer.cpp.o\u001b[0m\n",
            "[ 69%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/softmax_layer.cpp.o\u001b[0m\n",
            "[ 71%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/softmax_loss_layer.cpp.o\u001b[0m\n",
            "[ 71%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/split_layer.cpp.o\u001b[0m\n",
            "[ 72%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/spp_layer.cpp.o\u001b[0m\n",
            "[ 72%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/swish_layer.cpp.o\u001b[0m\n",
            "[ 72%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/tanh_layer.cpp.o\u001b[0m\n",
            "[ 73%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/threshold_layer.cpp.o\u001b[0m\n",
            "[ 73%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/tile_layer.cpp.o\u001b[0m\n",
            "[ 73%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/layers/window_data_layer.cpp.o\u001b[0m\n",
            "[ 75%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/net.cpp.o\u001b[0m\n",
            "[ 75%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/parallel.cpp.o\u001b[0m\n",
            "[ 76%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/solver.cpp.o\u001b[0m\n",
            "[ 76%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adadelta_solver.cpp.o\u001b[0m\n",
            "[ 76%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adagrad_solver.cpp.o\u001b[0m\n",
            "[ 78%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adam_solver.cpp.o\u001b[0m\n",
            "[ 78%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/solvers/nesterov_solver.cpp.o\u001b[0m\n",
            "[ 78%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/solvers/rmsprop_solver.cpp.o\u001b[0m\n",
            "[ 79%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/solvers/sgd_solver.cpp.o\u001b[0m\n",
            "[ 79%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/syncedmem.cpp.o\u001b[0m\n",
            "[ 80%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/benchmark.cpp.o\u001b[0m\n",
            "[ 80%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/blocking_queue.cpp.o\u001b[0m\n",
            "[ 80%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/cudnn.cpp.o\u001b[0m\n",
            "[ 82%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/db.cpp.o\u001b[0m\n",
            "[ 82%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/db_leveldb.cpp.o\u001b[0m\n",
            "[ 83%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/db_lmdb.cpp.o\u001b[0m\n",
            "[ 83%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/hdf5.cpp.o\u001b[0m\n",
            "[ 83%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/im2col.cpp.o\u001b[0m\n",
            "[ 84%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/insert_splits.cpp.o\u001b[0m\n",
            "[ 84%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/io.cpp.o\u001b[0m\n",
            "[ 84%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/math_functions.cpp.o\u001b[0m\n",
            "[ 86%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/signal_handler.cpp.o\u001b[0m\n",
            "[ 86%] \u001b[32mBuilding CXX object src/caffe/CMakeFiles/caffe.dir/util/upgrade_proto.cpp.o\u001b[0m\n",
            "[ 87%] \u001b[32m\u001b[1mLinking CXX shared library ../../lib/libcaffe.so\u001b[0m\n",
            "[ 87%] Built target caffe\n",
            "\u001b[35m\u001b[1mScanning dependencies of target compute_image_mean\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target upgrade_solver_proto_text\u001b[0m\n",
            "[ 89%] \u001b[32mBuilding CXX object tools/CMakeFiles/compute_image_mean.dir/compute_image_mean.cpp.o\u001b[0m\n",
            "[ 89%] \u001b[32mBuilding CXX object tools/CMakeFiles/upgrade_solver_proto_text.dir/upgrade_solver_proto_text.cpp.o\u001b[0m\n",
            "[ 89%] \u001b[32m\u001b[1mLinking CXX executable compute_image_mean\u001b[0m\n",
            "[ 89%] Built target compute_image_mean\n",
            "\u001b[35m\u001b[1mScanning dependencies of target caffe.bin\u001b[0m\n",
            "[ 89%] \u001b[32mBuilding CXX object tools/CMakeFiles/caffe.bin.dir/caffe.cpp.o\u001b[0m\n",
            "[ 90%] \u001b[32m\u001b[1mLinking CXX executable upgrade_solver_proto_text\u001b[0m\n",
            "[ 90%] Built target upgrade_solver_proto_text\n",
            "\u001b[35m\u001b[1mScanning dependencies of target upgrade_net_proto_binary\u001b[0m\n",
            "[ 91%] \u001b[32mBuilding CXX object tools/CMakeFiles/upgrade_net_proto_binary.dir/upgrade_net_proto_binary.cpp.o\u001b[0m\n",
            "[ 91%] \u001b[32m\u001b[1mLinking CXX executable upgrade_net_proto_binary\u001b[0m\n",
            "[ 91%] Built target upgrade_net_proto_binary\n",
            "\u001b[35m\u001b[1mScanning dependencies of target convert_imageset\u001b[0m\n",
            "[ 91%] \u001b[32mBuilding CXX object tools/CMakeFiles/convert_imageset.dir/convert_imageset.cpp.o\u001b[0m\n",
            "[ 91%] \u001b[32m\u001b[1mLinking CXX executable caffe\u001b[0m\n",
            "[ 91%] Built target caffe.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target extract_features\u001b[0m\n",
            "[ 91%] \u001b[32mBuilding CXX object tools/CMakeFiles/extract_features.dir/extract_features.cpp.o\u001b[0m\n",
            "[ 91%] \u001b[32m\u001b[1mLinking CXX executable convert_imageset\u001b[0m\n",
            "[ 91%] Built target convert_imageset\n",
            "\u001b[35m\u001b[1mScanning dependencies of target upgrade_net_proto_text\u001b[0m\n",
            "[ 91%] \u001b[32mBuilding CXX object tools/CMakeFiles/upgrade_net_proto_text.dir/upgrade_net_proto_text.cpp.o\u001b[0m\n",
            "[ 93%] \u001b[32m\u001b[1mLinking CXX executable extract_features\u001b[0m\n",
            "[ 94%] \u001b[32m\u001b[1mLinking CXX executable upgrade_net_proto_text\u001b[0m\n",
            "[ 94%] Built target extract_features\n",
            "\u001b[35m\u001b[1mScanning dependencies of target classification\u001b[0m\n",
            "[ 95%] \u001b[32mBuilding CXX object examples/CMakeFiles/classification.dir/cpp_classification/classification.cpp.o\u001b[0m\n",
            "[ 95%] Built target upgrade_net_proto_text\n",
            "\u001b[35m\u001b[1mScanning dependencies of target convert_mnist_data\u001b[0m\n",
            "[ 97%] \u001b[32mBuilding CXX object examples/CMakeFiles/convert_mnist_data.dir/mnist/convert_mnist_data.cpp.o\u001b[0m\n",
            "[ 97%] \u001b[32m\u001b[1mLinking CXX executable mnist/convert_mnist_data\u001b[0m\n",
            "[ 97%] Built target convert_mnist_data\n",
            "\u001b[35m\u001b[1mScanning dependencies of target convert_cifar_data\u001b[0m\n",
            "[ 97%] \u001b[32mBuilding CXX object examples/CMakeFiles/convert_cifar_data.dir/cifar10/convert_cifar_data.cpp.o\u001b[0m\n",
            "[ 97%] \u001b[32m\u001b[1mLinking CXX executable cpp_classification/classification\u001b[0m\n",
            "[ 98%] \u001b[32m\u001b[1mLinking CXX executable cifar10/convert_cifar_data\u001b[0m\n",
            "[ 98%] Built target classification\n",
            "\u001b[35m\u001b[1mScanning dependencies of target convert_mnist_siamese_data\u001b[0m\n",
            "[100%] \u001b[32mBuilding CXX object examples/CMakeFiles/convert_mnist_siamese_data.dir/siamese/convert_mnist_siamese_data.cpp.o\u001b[0m\n",
            "[100%] Built target convert_cifar_data\n",
            "[100%] \u001b[32m\u001b[1mLinking CXX executable siamese/convert_mnist_siamese_data\u001b[0m\n",
            "[100%] Built target convert_mnist_siamese_data\n",
            "[ 87%] \u001b[34m\u001b[1mPerforming install step for 'openpose_lib'\u001b[0m\n",
            "-- Boost version: 1.65.1\n",
            "-- Found the following Boost libraries:\n",
            "--   system\n",
            "--   thread\n",
            "--   filesystem\n",
            "--   chrono\n",
            "--   date_time\n",
            "--   atomic\n",
            "-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)\n",
            "-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)\n",
            "-- Found PROTOBUF Compiler: /usr/bin/protoc\n",
            "-- HDF5: Using hdf5 compiler wrapper to determine C configuration\n",
            "-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration\n",
            "-- CUDA detected: 10.1\n",
            "-- Found cuDNN: ver. 7.6.5 found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)\n",
            "-- Added CUDA NVCC flags for: sm_75\n",
            "-- Found Atlas (include: /usr/include/x86_64-linux-gnu library: /usr/lib/x86_64-linux-gnu/libatlas.so lapack: /usr/lib/x86_64-linux-gnu/liblapack.so\n",
            "-- Python interface is disabled or not all required dependencies found. Building without it...\n",
            "-- \n",
            "-- ******************* Caffe Configuration Summary *******************\n",
            "-- General:\n",
            "--   Version           :   1.0.0\n",
            "--   Git               :   1.0-147-gc95002fb\n",
            "--   System            :   Linux\n",
            "--   C++ compiler      :   /usr/bin/c++\n",
            "--   Release CXX flags :   -O3 -DNDEBUG -fPIC -Wall -std=c++11 -Wno-sign-compare -Wno-uninitialized\n",
            "--   Debug CXX flags   :   -g -fPIC -Wall -std=c++11 -Wno-sign-compare -Wno-uninitialized\n",
            "--   Build type        :   Release\n",
            "-- \n",
            "--   BUILD_SHARED_LIBS :   ON\n",
            "--   BUILD_python      :   OFF\n",
            "--   BUILD_matlab      :   OFF\n",
            "--   BUILD_docs        :   OFF\n",
            "--   CPU_ONLY          :   OFF\n",
            "--   USE_OPENCV        :   OFF\n",
            "--   USE_LEVELDB       :   OFF\n",
            "--   USE_LMDB          :   OFF\n",
            "--   USE_NCCL          :   OFF\n",
            "--   ALLOW_LMDB_NOLOCK :   OFF\n",
            "--   USE_HDF5          :   ON\n",
            "-- \n",
            "-- Dependencies:\n",
            "--   BLAS              :   Yes (Atlas)\n",
            "--   Boost             :   Yes (ver. 1.65)\n",
            "--   glog              :   Yes\n",
            "--   gflags            :   Yes\n",
            "--   protobuf          :   Yes (ver. 3.0.0)\n",
            "--   CUDA              :   Yes (ver. 10.1)\n",
            "-- \n",
            "-- NVIDIA CUDA:\n",
            "--   Target GPU(s)     :   Auto\n",
            "--   GPU arch(s)       :   sm_75\n",
            "--   cuDNN             :   Yes (ver. 7.6.5)\n",
            "-- \n",
            "-- Install:\n",
            "--   Install path      :   /content/openpose/build/caffe\n",
            "-- \n",
            "-- Configuring done\n",
            "-- Generating done\n",
            "-- Build files have been written to: /content/openpose/build/caffe/src/openpose_lib-build\n",
            "[  2%] Built target caffeproto\n",
            "\u001b[35m\u001b[1mScanning dependencies of target caffe\u001b[0m\n",
            "[  4%] \u001b[32m\u001b[1mLinking CXX shared library ../../lib/libcaffe.so\u001b[0m\n",
            "[ 89%] Built target caffe\n",
            "[ 90%] \u001b[32m\u001b[1mLinking CXX executable compute_image_mean\u001b[0m\n",
            "[ 90%] \u001b[32m\u001b[1mLinking CXX executable upgrade_solver_proto_text\u001b[0m\n",
            "[ 91%] Built target compute_image_mean\n",
            "[ 91%] \u001b[32m\u001b[1mLinking CXX executable caffe\u001b[0m\n",
            "[ 91%] Built target upgrade_solver_proto_text\n",
            "[ 91%] \u001b[32m\u001b[1mLinking CXX executable upgrade_net_proto_binary\u001b[0m\n",
            "[ 91%] Built target caffe.bin\n",
            "[ 93%] \u001b[32m\u001b[1mLinking CXX executable convert_imageset\u001b[0m\n",
            "[ 94%] Built target upgrade_net_proto_binary\n",
            "[ 95%] \u001b[32m\u001b[1mLinking CXX executable extract_features\u001b[0m\n",
            "[ 95%] Built target convert_imageset\n",
            "[ 97%] \u001b[32m\u001b[1mLinking CXX executable upgrade_net_proto_text\u001b[0m\n",
            "[ 97%] Built target extract_features\n",
            "[ 97%] \u001b[32m\u001b[1mLinking CXX executable cpp_classification/classification\u001b[0m\n",
            "[ 97%] Built target upgrade_net_proto_text\n",
            "[ 97%] \u001b[32m\u001b[1mLinking CXX executable mnist/convert_mnist_data\u001b[0m\n",
            "[ 97%] Built target classification\n",
            "[ 98%] \u001b[32m\u001b[1mLinking CXX executable cifar10/convert_cifar_data\u001b[0m\n",
            "[ 98%] Built target convert_mnist_data\n",
            "[ 98%] \u001b[32m\u001b[1mLinking CXX executable siamese/convert_mnist_siamese_data\u001b[0m\n",
            "[100%] Built target convert_mnist_siamese_data\n",
            "[100%] Built target convert_cifar_data\n",
            "\u001b[36mInstall the project...\u001b[0m\n",
            "-- Install configuration: \"Release\"\n",
            "-- Installing: /content/openpose/build/caffe/share/Caffe/CaffeConfig.cmake\n",
            "-- Installing: /content/openpose/build/caffe/share/Caffe/CaffeTargets.cmake\n",
            "-- Installing: /content/openpose/build/caffe/share/Caffe/CaffeTargets-release.cmake\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/syncedmem.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/solver_factory.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/common.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/blob.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/caffe.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layer_factory.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/data_transformer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/test\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/test/test_gradient_check_util.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/test/test_caffe_main.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/db_lmdb.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/format.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/upgrade_proto.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/blocking_queue.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/db.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/io.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/im2col.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/insert_splits.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/device_alternate.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/rng.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/mkl_alternate.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/gpu_util.cuh\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/math_functions.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/db_leveldb.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/hdf5.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/benchmark.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/nccl.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/signal_handler.h\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/util/cudnn.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/parallel.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/sgd_solvers.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/inner_product_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/cudnn_pooling_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/mvn_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/neuron_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/clip_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/infogain_loss_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/python_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/im2col_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/cudnn_lcn_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/log_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/reduction_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/embed_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/slice_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/batch_reindex_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/accuracy_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/base_conv_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/lstm_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/multinomial_logistic_loss_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/prelu_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/absval_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/concat_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/power_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/sigmoid_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/lrn_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/data_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/argmax_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/pooling_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/image_data_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/dummy_data_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/cudnn_tanh_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/cudnn_conv_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/threshold_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/hinge_loss_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/filter_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/swish_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/tile_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/window_data_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/cudnn_lrn_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/relu_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/crop_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/split_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/hdf5_data_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/exp_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/elu_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/loss_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/memory_data_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/batch_norm_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/deconv_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/flatten_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/hdf5_output_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/dropout_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/sigmoid_cross_entropy_loss_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/reshape_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/softmax_loss_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/cudnn_relu_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/cudnn_sigmoid_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/bias_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/recurrent_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/conv_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/eltwise_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/softmax_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/tanh_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/silence_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/rnn_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/scale_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/euclidean_loss_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/cudnn_deconv_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/spp_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/input_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/base_data_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/parameter_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/contrastive_loss_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/cudnn_softmax_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/layers/bnll_layer.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/net.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/solver.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/internal_thread.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/filler.hpp\n",
            "-- Installing: /content/openpose/build/caffe/include/caffe/proto/caffe.pb.h\n",
            "-- Installing: /content/openpose/build/caffe/lib/libcaffe.so.1.0.0\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/lib/libcaffe.so.1.0.0\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "-- Installing: /content/openpose/build/caffe/lib/libcaffe.so\n",
            "-- Installing: /content/openpose/build/caffe/lib/libcaffeproto.a\n",
            "-- Installing: /content/openpose/build/caffe/python/caffe/proto/caffe_pb2.py\n",
            "-- Installing: /content/openpose/build/caffe/python/caffe/proto/__init__.py\n",
            "-- Installing: /content/openpose/build/caffe/bin/caffe\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/bin/caffe\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "-- Installing: /content/openpose/build/caffe/bin/compute_image_mean\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/bin/compute_image_mean\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "-- Installing: /content/openpose/build/caffe/bin/convert_imageset\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/bin/convert_imageset\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "-- Installing: /content/openpose/build/caffe/bin/extract_features\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/bin/extract_features\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "-- Installing: /content/openpose/build/caffe/bin/upgrade_net_proto_binary\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/bin/upgrade_net_proto_binary\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "-- Installing: /content/openpose/build/caffe/bin/upgrade_net_proto_text\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/bin/upgrade_net_proto_text\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "-- Installing: /content/openpose/build/caffe/bin/upgrade_solver_proto_text\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/bin/upgrade_solver_proto_text\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "-- Installing: /content/openpose/build/caffe/bin/convert_cifar_data\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/bin/convert_cifar_data\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "-- Installing: /content/openpose/build/caffe/bin/classification\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/bin/classification\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "-- Installing: /content/openpose/build/caffe/bin/convert_mnist_data\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/bin/convert_mnist_data\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "-- Installing: /content/openpose/build/caffe/bin/convert_mnist_siamese_data\n",
            "-- Set runtime path of \"/content/openpose/build/caffe/bin/convert_mnist_siamese_data\" to \"/content/openpose/build/caffe/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/cuda/lib64\"\n",
            "[100%] \u001b[34m\u001b[1mCompleted 'openpose_lib'\u001b[0m\n",
            "\u001b[34m\u001b[1mRerunning cmake after building Caffe submodule\u001b[0m\n",
            "-- GCC detected, adding compile flags\n",
            "-- GCC detected, adding compile flags\n",
            "-- Building with CUDA.\n",
            "-- CUDA detected: 10.1\n",
            "-- Found cuDNN: ver. 7.6.5 found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)\n",
            "-- Added CUDA NVCC flags for: sm_75\n",
            "-- Found cuDNN: ver. 7.6.5 found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)\n",
            "-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)\n",
            "-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)\n",
            "-- Caffe will be downloaded from source now. NOTE: This process might take several minutes depending\n",
            "        on your internet connection.\n",
            "-- Caffe has already been downloaded.\n",
            "HEAD is now at c95002fb Added support for newer GPUs\n",
            "-- Caffe will be built from source now.\n",
            "-- Adding Example calibration.bin\n",
            "-- Adding Example openpose.bin\n",
            "-- Adding Example 1_custom_post_processing.bin\n",
            "-- Adding Example 01_body_from_image_default.bin\n",
            "-- Adding Example 02_whole_body_from_image_default.bin\n",
            "-- Adding Example 03_keypoints_from_image.bin\n",
            "-- Adding Example 04_keypoints_from_images.bin\n",
            "-- Adding Example 05_keypoints_from_images_multi_gpu.bin\n",
            "-- Adding Example 06_face_from_image.bin\n",
            "-- Adding Example 07_hand_from_image.bin\n",
            "-- Adding Example 08_heatmaps_from_image.bin\n",
            "-- Adding Example 09_keypoints_from_heatmaps.bin\n",
            "-- Adding Example 10_asynchronous_custom_input.bin\n",
            "-- Adding Example 11_asynchronous_custom_input_multi_camera.bin\n",
            "-- Adding Example 12_asynchronous_custom_output.bin\n",
            "-- Adding Example 13_asynchronous_custom_input_output_and_datum.bin\n",
            "-- Adding Example 14_synchronous_custom_input.bin\n",
            "-- Adding Example 15_synchronous_custom_preprocessing.bin\n",
            "-- Adding Example 16_synchronous_custom_postprocessing.bin\n",
            "-- Adding Example 17_synchronous_custom_output.bin\n",
            "-- Adding Example 18_synchronous_custom_all_and_datum.bin\n",
            "-- Adding Example 1_thread_user_processing_function.bin\n",
            "-- Adding Example 2_thread_user_input_processing_output_and_datum.bin\n",
            "-- Adding Example handFromJsonTest.bin\n",
            "-- Adding Example resizeTest.bin\n",
            "-- Download the models.\n",
            "-- Downloading BODY_25 model...\n",
            "-- Model already exists.\n",
            "-- Not downloading body (COCO) model\n",
            "-- Not downloading body (MPI) model\n",
            "-- Downloading face model...\n",
            "-- Model already exists.\n",
            "-- Downloading hand model...\n",
            "-- Model already exists.\n",
            "-- Models Downloaded.\n",
            "-- Configuring done\n",
            "-- Generating done\n",
            "-- Build files have been written to: /content/openpose/build\n",
            "[  0%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/CMakeFiles/openpose.dir/tracking/openpose_generated_pyramidalLK.cu.o\u001b[0m\n",
            "[  2%] Built target openpose_lib\n",
            "[  3%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/CMakeFiles/openpose.dir/face/openpose_generated_renderFace.cu.o\u001b[0m\n",
            "[  3%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/CMakeFiles/openpose.dir/gpu/openpose_generated_cuda.cu.o\u001b[0m\n",
            "[  3%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/CMakeFiles/openpose.dir/hand/openpose_generated_renderHand.cu.o\u001b[0m\n",
            "[  4%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/CMakeFiles/openpose.dir/net/openpose_generated_bodyPartConnectorBase.cu.o\u001b[0m\n",
            "[  4%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/CMakeFiles/openpose.dir/net/openpose_generated_maximumBase.cu.o\u001b[0m\n",
            "[  4%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/CMakeFiles/openpose.dir/net/openpose_generated_nmsBase.cu.o\u001b[0m\n",
            "[  5%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/CMakeFiles/openpose.dir/net/openpose_generated_resizeAndMergeBase.cu.o\u001b[0m\n",
            "[  5%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/CMakeFiles/openpose.dir/pose/openpose_generated_renderPose.cu.o\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose\u001b[0m\n",
            "[  5%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/3d/cameraParameterReader.cpp.o\u001b[0m\n",
            "[  6%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/3d/defineTemplates.cpp.o\u001b[0m\n",
            "[  6%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/3d/jointAngleEstimation.cpp.o\u001b[0m\n",
            "[  6%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/3d/poseTriangulation.cpp.o\u001b[0m\n",
            "[  7%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/3d/poseTriangulationPrivate.cpp.o\u001b[0m\n",
            "[  7%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/calibration/cameraParameterEstimation.cpp.o\u001b[0m\n",
            "[  7%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/calibration/gridPatternFunctions.cpp.o\u001b[0m\n",
            "[  8%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/array.cpp.o\u001b[0m\n",
            "[  8%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/arrayCpuGpu.cpp.o\u001b[0m\n",
            "[  8%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/cvMatToOpInput.cpp.o\u001b[0m\n",
            "[  9%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/cvMatToOpOutput.cpp.o\u001b[0m\n",
            "[  9%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/datum.cpp.o\u001b[0m\n",
            "[  9%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/defineTemplates.cpp.o\u001b[0m\n",
            "[  9%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/gpuRenderer.cpp.o\u001b[0m\n",
            "[ 10%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/keepTopNPeople.cpp.o\u001b[0m\n",
            "[ 10%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/keypointScaler.cpp.o\u001b[0m\n",
            "[ 10%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/matrix.cpp.o\u001b[0m\n",
            "[ 11%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/opOutputToCvMat.cpp.o\u001b[0m\n",
            "[ 11%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/point.cpp.o\u001b[0m\n",
            "[ 11%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/rectangle.cpp.o\u001b[0m\n",
            "[ 12%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/renderer.cpp.o\u001b[0m\n",
            "[ 12%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/scaleAndSizeExtractor.cpp.o\u001b[0m\n",
            "[ 12%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/string.cpp.o\u001b[0m\n",
            "[ 12%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/core/verbosePrinter.cpp.o\u001b[0m\n",
            "[ 13%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/face/defineTemplates.cpp.o\u001b[0m\n",
            "[ 13%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/face/faceDetector.cpp.o\u001b[0m\n",
            "[ 13%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/face/faceDetectorOpenCV.cpp.o\u001b[0m\n",
            "[ 14%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/face/faceExtractorCaffe.cpp.o\u001b[0m\n",
            "[ 14%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/face/faceExtractorNet.cpp.o\u001b[0m\n",
            "[ 14%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/face/faceCpuRenderer.cpp.o\u001b[0m\n",
            "[ 15%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/face/faceGpuRenderer.cpp.o\u001b[0m\n",
            "[ 15%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/face/faceRenderer.cpp.o\u001b[0m\n",
            "[ 15%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/face/renderFace.cpp.o\u001b[0m\n",
            "[ 15%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/bvhSaver.cpp.o\u001b[0m\n",
            "[ 16%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/cocoJsonSaver.cpp.o\u001b[0m\n",
            "[ 16%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/defineTemplates.cpp.o\u001b[0m\n",
            "[ 16%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/fileSaver.cpp.o\u001b[0m\n",
            "[ 17%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/fileStream.cpp.o\u001b[0m\n",
            "[ 17%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/heatMapSaver.cpp.o\u001b[0m\n",
            "[ 17%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/imageSaver.cpp.o\u001b[0m\n",
            "[ 18%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/jsonOfstream.cpp.o\u001b[0m\n",
            "[ 18%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/keypointSaver.cpp.o\u001b[0m\n",
            "[ 18%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/peopleJsonSaver.cpp.o\u001b[0m\n",
            "[ 19%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/udpSender.cpp.o\u001b[0m\n",
            "[ 19%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/filestream/videoSaver.cpp.o\u001b[0m\n",
            "[ 19%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/gpu/cuda.cpp.o\u001b[0m\n",
            "[ 19%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/gpu/gpu.cpp.o\u001b[0m\n",
            "[ 20%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/gpu/opencl.cpp.o\u001b[0m\n",
            "[ 20%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/gui/defineTemplates.cpp.o\u001b[0m\n",
            "[ 20%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/gui/frameDisplayer.cpp.o\u001b[0m\n",
            "[ 21%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/gui/gui.cpp.o\u001b[0m\n",
            "[ 21%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/gui/guiAdam.cpp.o\u001b[0m\n",
            "[ 21%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/gui/gui3D.cpp.o\u001b[0m\n",
            "[ 22%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/gui/guiInfoAdder.cpp.o\u001b[0m\n",
            "[ 22%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/hand/defineTemplates.cpp.o\u001b[0m\n",
            "[ 22%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/hand/handDetector.cpp.o\u001b[0m\n",
            "[ 22%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/hand/handDetectorFromTxt.cpp.o\u001b[0m\n",
            "[ 23%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/hand/handExtractorCaffe.cpp.o\u001b[0m\n",
            "[ 23%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/hand/handExtractorNet.cpp.o\u001b[0m\n",
            "[ 23%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/hand/handCpuRenderer.cpp.o\u001b[0m\n",
            "[ 24%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/hand/handGpuRenderer.cpp.o\u001b[0m\n",
            "[ 24%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/hand/handRenderer.cpp.o\u001b[0m\n",
            "[ 24%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/hand/renderHand.cpp.o\u001b[0m\n",
            "[ 25%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/bodyPartConnectorBase.cpp.o\u001b[0m\n",
            "[ 25%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/bodyPartConnectorBaseCL.cpp.o\u001b[0m\n",
            "[ 25%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/bodyPartConnectorCaffe.cpp.o\u001b[0m\n",
            "[ 25%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/maximumBase.cpp.o\u001b[0m\n",
            "[ 26%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/maximumCaffe.cpp.o\u001b[0m\n",
            "[ 26%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/netCaffe.cpp.o\u001b[0m\n",
            "[ 26%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/netOpenCv.cpp.o\u001b[0m\n",
            "[ 27%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/nmsBase.cpp.o\u001b[0m\n",
            "[ 27%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/nmsBaseCL.cpp.o\u001b[0m\n",
            "[ 27%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/nmsCaffe.cpp.o\u001b[0m\n",
            "[ 28%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/resizeAndMergeBase.cpp.o\u001b[0m\n",
            "[ 28%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/resizeAndMergeBaseCL.cpp.o\u001b[0m\n",
            "[ 28%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/net/resizeAndMergeCaffe.cpp.o\u001b[0m\n",
            "[ 29%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/pose/defineTemplates.cpp.o\u001b[0m\n",
            "[ 29%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/pose/poseCpuRenderer.cpp.o\u001b[0m\n",
            "[ 29%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/pose/poseExtractor.cpp.o\u001b[0m\n",
            "[ 29%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/pose/poseExtractorCaffe.cpp.o\u001b[0m\n",
            "[ 30%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/pose/poseExtractorNet.cpp.o\u001b[0m\n",
            "[ 30%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/pose/poseGpuRenderer.cpp.o\u001b[0m\n",
            "[ 30%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/pose/poseParameters.cpp.o\u001b[0m\n",
            "[ 31%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/pose/poseParametersRender.cpp.o\u001b[0m\n",
            "[ 31%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/pose/poseRenderer.cpp.o\u001b[0m\n",
            "[ 31%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/pose/renderPose.cpp.o\u001b[0m\n",
            "[ 32%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/producer/datumProducer.cpp.o\u001b[0m\n",
            "[ 32%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/producer/defineTemplates.cpp.o\u001b[0m\n",
            "[ 32%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/producer/flirReader.cpp.o\u001b[0m\n",
            "[ 32%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/producer/imageDirectoryReader.cpp.o\u001b[0m\n",
            "[ 33%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/producer/ipCameraReader.cpp.o\u001b[0m\n",
            "[ 33%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/producer/producer.cpp.o\u001b[0m\n",
            "[ 33%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/producer/spinnakerWrapper.cpp.o\u001b[0m\n",
            "[ 34%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/producer/videoCaptureReader.cpp.o\u001b[0m\n",
            "[ 34%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/producer/videoReader.cpp.o\u001b[0m\n",
            "[ 34%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/producer/webcamReader.cpp.o\u001b[0m\n",
            "[ 35%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/thread/defineTemplates.cpp.o\u001b[0m\n",
            "[ 35%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/tracking/defineTemplates.cpp.o\u001b[0m\n",
            "[ 35%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/tracking/personIdExtractor.cpp.o\u001b[0m\n",
            "[ 35%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/tracking/personTracker.cpp.o\u001b[0m\n",
            "[ 36%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/tracking/pyramidalLK.cpp.o\u001b[0m\n",
            "[ 36%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/unity/unityBinding.cpp.o\u001b[0m\n",
            "[ 36%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/utilities/errorAndLog.cpp.o\u001b[0m\n",
            "[ 37%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/utilities/fileSystem.cpp.o\u001b[0m\n",
            "\u001b[01m\u001b[K/content/openpose/src/openpose/utilities/fileSystem.cpp:\u001b[m\u001b[K In function ‘\u001b[01m\u001b[Kbool op::compareNat(const string&, const string&)\u001b[m\u001b[K’:\n",
            "\u001b[01m\u001b[K/content/openpose/src/openpose/utilities/fileSystem.cpp:51:33:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[Kcomparison between signed and unsigned integer expressions [\u001b[01;35m\u001b[K-Wsign-compare\u001b[m\u001b[K]\n",
            "             for (auto i = 0 ; \u001b[01;35m\u001b[Ki < aNumberAsString.size()\u001b[m\u001b[K ; ++i)\n",
            "                               \u001b[01;35m\u001b[K~~^~~~~~~~~~~~~~~~~~~~~~~~\u001b[m\u001b[K\n",
            "[ 37%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/utilities/flagsToOpenPose.cpp.o\u001b[0m\n",
            "[ 37%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/utilities/keypoint.cpp.o\u001b[0m\n",
            "[ 38%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/utilities/openCv.cpp.o\u001b[0m\n",
            "[ 38%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/utilities/openCvPrivate.cpp.o\u001b[0m\n",
            "[ 38%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/utilities/profiler.cpp.o\u001b[0m\n",
            "[ 39%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/utilities/string.cpp.o\u001b[0m\n",
            "[ 39%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/wrapper/defineTemplates.cpp.o\u001b[0m\n",
            "[ 39%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/wrapper/wrapperAuxiliary.cpp.o\u001b[0m\n",
            "[ 39%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/wrapper/wrapperStructExtra.cpp.o\u001b[0m\n",
            "[ 40%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/wrapper/wrapperStructFace.cpp.o\u001b[0m\n",
            "[ 40%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/wrapper/wrapperStructGui.cpp.o\u001b[0m\n",
            "[ 40%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/wrapper/wrapperStructHand.cpp.o\u001b[0m\n",
            "[ 41%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/wrapper/wrapperStructInput.cpp.o\u001b[0m\n",
            "[ 41%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/wrapper/wrapperStructOutput.cpp.o\u001b[0m\n",
            "[ 41%] \u001b[32mBuilding CXX object src/openpose/CMakeFiles/openpose.dir/wrapper/wrapperStructPose.cpp.o\u001b[0m\n",
            "[ 42%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose.so\u001b[0m\n",
            "[ 42%] Built target openpose\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_core\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target calibration.bin\u001b[0m\n",
            "[ 43%] \u001b[32mBuilding CXX object examples/calibration/CMakeFiles/calibration.bin.dir/calibration.cpp.o\u001b[0m\n",
            "[ 43%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/array.cpp.o\u001b[0m\n",
            "[ 43%] \u001b[32m\u001b[1mLinking CXX executable calibration.bin\u001b[0m\n",
            "[ 43%] Built target calibration.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose.bin\u001b[0m\n",
            "[ 43%] \u001b[32mBuilding CXX object examples/openpose/CMakeFiles/openpose.bin.dir/openpose.cpp.o\u001b[0m\n",
            "[ 43%] \u001b[32m\u001b[1mLinking CXX executable openpose.bin\u001b[0m\n",
            "[ 43%] Built target openpose.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 1_custom_post_processing.bin\u001b[0m\n",
            "[ 44%] \u001b[32mBuilding CXX object examples/tutorial_add_module/CMakeFiles/1_custom_post_processing.bin.dir/1_custom_post_processing.cpp.o\u001b[0m\n",
            "[ 44%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/arrayCpuGpu.cpp.o\u001b[0m\n",
            "[ 45%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/cvMatToOpInput.cpp.o\u001b[0m\n",
            "[ 45%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/cvMatToOpOutput.cpp.o\u001b[0m\n",
            "[ 45%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/datum.cpp.o\u001b[0m\n",
            "[ 46%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/defineTemplates.cpp.o\u001b[0m\n",
            "[ 46%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/gpuRenderer.cpp.o\u001b[0m\n",
            "[ 46%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/keepTopNPeople.cpp.o\u001b[0m\n",
            "[ 47%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/keypointScaler.cpp.o\u001b[0m\n",
            "[ 47%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/matrix.cpp.o\u001b[0m\n",
            "[ 47%] \u001b[32m\u001b[1mLinking CXX executable 1_custom_post_processing.bin\u001b[0m\n",
            "[ 47%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/opOutputToCvMat.cpp.o\u001b[0m\n",
            "[ 47%] Built target 1_custom_post_processing.bin\n",
            "[ 48%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/point.cpp.o\u001b[0m\n",
            "[ 48%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/rectangle.cpp.o\u001b[0m\n",
            "[ 48%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/renderer.cpp.o\u001b[0m\n",
            "[ 48%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/scaleAndSizeExtractor.cpp.o\u001b[0m\n",
            "[ 49%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/string.cpp.o\u001b[0m\n",
            "[ 49%] \u001b[32mBuilding CXX object src/openpose/core/CMakeFiles/openpose_core.dir/verbosePrinter.cpp.o\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 18_synchronous_custom_all_and_datum.bin\u001b[0m\n",
            "[ 49%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/18_synchronous_custom_all_and_datum.bin.dir/18_synchronous_custom_all_and_datum.cpp.o\u001b[0m\n",
            "[ 49%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_core.so\u001b[0m\n",
            "[ 49%] Built target openpose_core\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 17_synchronous_custom_output.bin\u001b[0m\n",
            "[ 50%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/17_synchronous_custom_output.bin.dir/17_synchronous_custom_output.cpp.o\u001b[0m\n",
            "[ 50%] \u001b[32m\u001b[1mLinking CXX executable 17_synchronous_custom_output.bin\u001b[0m\n",
            "[ 50%] Built target 17_synchronous_custom_output.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 05_keypoints_from_images_multi_gpu.bin\u001b[0m\n",
            "[ 50%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/05_keypoints_from_images_multi_gpu.bin.dir/05_keypoints_from_images_multi_gpu.cpp.o\u001b[0m\n",
            "[ 51%] \u001b[32m\u001b[1mLinking CXX executable 05_keypoints_from_images_multi_gpu.bin\u001b[0m\n",
            "[ 51%] Built target 05_keypoints_from_images_multi_gpu.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 03_keypoints_from_image.bin\u001b[0m\n",
            "[ 51%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/03_keypoints_from_image.bin.dir/03_keypoints_from_image.cpp.o\u001b[0m\n",
            "[ 51%] \u001b[32m\u001b[1mLinking CXX executable 03_keypoints_from_image.bin\u001b[0m\n",
            "[ 51%] Built target 03_keypoints_from_image.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 06_face_from_image.bin\u001b[0m\n",
            "[ 51%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/06_face_from_image.bin.dir/06_face_from_image.cpp.o\u001b[0m\n",
            "[ 51%] \u001b[32m\u001b[1mLinking CXX executable 18_synchronous_custom_all_and_datum.bin\u001b[0m\n",
            "[ 51%] \u001b[32m\u001b[1mLinking CXX executable 06_face_from_image.bin\u001b[0m\n",
            "[ 51%] Built target 18_synchronous_custom_all_and_datum.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 07_hand_from_image.bin\u001b[0m\n",
            "[ 51%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/07_hand_from_image.bin.dir/07_hand_from_image.cpp.o\u001b[0m\n",
            "[ 51%] Built target 06_face_from_image.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 04_keypoints_from_images.bin\u001b[0m\n",
            "[ 52%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/04_keypoints_from_images.bin.dir/04_keypoints_from_images.cpp.o\u001b[0m\n",
            "[ 53%] \u001b[32m\u001b[1mLinking CXX executable 07_hand_from_image.bin\u001b[0m\n",
            "[ 53%] \u001b[32m\u001b[1mLinking CXX executable 04_keypoints_from_images.bin\u001b[0m\n",
            "[ 53%] Built target 07_hand_from_image.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 01_body_from_image_default.bin\u001b[0m\n",
            "[ 53%] Built target 04_keypoints_from_images.bin\n",
            "[ 53%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/01_body_from_image_default.bin.dir/01_body_from_image_default.cpp.o\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 09_keypoints_from_heatmaps.bin\u001b[0m\n",
            "[ 54%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/09_keypoints_from_heatmaps.bin.dir/09_keypoints_from_heatmaps.cpp.o\u001b[0m\n",
            "[ 54%] \u001b[32m\u001b[1mLinking CXX executable 01_body_from_image_default.bin\u001b[0m\n",
            "[ 54%] Built target 01_body_from_image_default.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 02_whole_body_from_image_default.bin\u001b[0m\n",
            "[ 54%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/02_whole_body_from_image_default.bin.dir/02_whole_body_from_image_default.cpp.o\u001b[0m\n",
            "[ 54%] \u001b[32m\u001b[1mLinking CXX executable 09_keypoints_from_heatmaps.bin\u001b[0m\n",
            "[ 54%] Built target 09_keypoints_from_heatmaps.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 13_asynchronous_custom_input_output_and_datum.bin\u001b[0m\n",
            "[ 54%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/13_asynchronous_custom_input_output_and_datum.bin.dir/13_asynchronous_custom_input_output_and_datum.cpp.o\u001b[0m\n",
            "[ 55%] \u001b[32m\u001b[1mLinking CXX executable 02_whole_body_from_image_default.bin\u001b[0m\n",
            "[ 55%] Built target 02_whole_body_from_image_default.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 08_heatmaps_from_image.bin\u001b[0m\n",
            "[ 55%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/08_heatmaps_from_image.bin.dir/08_heatmaps_from_image.cpp.o\u001b[0m\n",
            "[ 55%] \u001b[32m\u001b[1mLinking CXX executable 08_heatmaps_from_image.bin\u001b[0m\n",
            "[ 55%] Built target 08_heatmaps_from_image.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 16_synchronous_custom_postprocessing.bin\u001b[0m\n",
            "[ 55%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/16_synchronous_custom_postprocessing.bin.dir/16_synchronous_custom_postprocessing.cpp.o\u001b[0m\n",
            "[ 55%] \u001b[32m\u001b[1mLinking CXX executable 16_synchronous_custom_postprocessing.bin\u001b[0m\n",
            "[ 55%] Built target 16_synchronous_custom_postprocessing.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 11_asynchronous_custom_input_multi_camera.bin\u001b[0m\n",
            "[ 55%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/11_asynchronous_custom_input_multi_camera.bin.dir/11_asynchronous_custom_input_multi_camera.cpp.o\u001b[0m\n",
            "[ 55%] \u001b[32m\u001b[1mLinking CXX executable 11_asynchronous_custom_input_multi_camera.bin\u001b[0m\n",
            "[ 55%] Built target 11_asynchronous_custom_input_multi_camera.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 14_synchronous_custom_input.bin\u001b[0m\n",
            "[ 56%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/14_synchronous_custom_input.bin.dir/14_synchronous_custom_input.cpp.o\u001b[0m\n",
            "[ 56%] \u001b[32m\u001b[1mLinking CXX executable 13_asynchronous_custom_input_output_and_datum.bin\u001b[0m\n",
            "[ 56%] Built target 13_asynchronous_custom_input_output_and_datum.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 15_synchronous_custom_preprocessing.bin\u001b[0m\n",
            "[ 56%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/15_synchronous_custom_preprocessing.bin.dir/15_synchronous_custom_preprocessing.cpp.o\u001b[0m\n",
            "[ 56%] \u001b[32m\u001b[1mLinking CXX executable 14_synchronous_custom_input.bin\u001b[0m\n",
            "[ 56%] Built target 14_synchronous_custom_input.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 10_asynchronous_custom_input.bin\u001b[0m\n",
            "[ 56%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/10_asynchronous_custom_input.bin.dir/10_asynchronous_custom_input.cpp.o\u001b[0m\n",
            "[ 57%] \u001b[32m\u001b[1mLinking CXX executable 15_synchronous_custom_preprocessing.bin\u001b[0m\n",
            "[ 57%] Built target 15_synchronous_custom_preprocessing.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 12_asynchronous_custom_output.bin\u001b[0m\n",
            "[ 57%] \u001b[32mBuilding CXX object examples/tutorial_api_cpp/CMakeFiles/12_asynchronous_custom_output.bin.dir/12_asynchronous_custom_output.cpp.o\u001b[0m\n",
            "[ 58%] \u001b[32m\u001b[1mLinking CXX executable 10_asynchronous_custom_input.bin\u001b[0m\n",
            "[ 58%] Built target 10_asynchronous_custom_input.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 2_thread_user_input_processing_output_and_datum.bin\u001b[0m\n",
            "[ 58%] \u001b[32mBuilding CXX object examples/tutorial_api_thread/CMakeFiles/2_thread_user_input_processing_output_and_datum.bin.dir/2_thread_user_input_processing_output_and_datum.cpp.o\u001b[0m\n",
            "[ 59%] \u001b[32m\u001b[1mLinking CXX executable 12_asynchronous_custom_output.bin\u001b[0m\n",
            "[ 59%] Built target 12_asynchronous_custom_output.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target 1_thread_user_processing_function.bin\u001b[0m\n",
            "[ 59%] \u001b[32mBuilding CXX object examples/tutorial_api_thread/CMakeFiles/1_thread_user_processing_function.bin.dir/1_thread_user_processing_function.cpp.o\u001b[0m\n",
            "[ 59%] \u001b[32m\u001b[1mLinking CXX executable 2_thread_user_input_processing_output_and_datum.bin\u001b[0m\n",
            "[ 60%] \u001b[32m\u001b[1mLinking CXX executable 1_thread_user_processing_function.bin\u001b[0m\n",
            "[ 60%] Built target 2_thread_user_input_processing_output_and_datum.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target resizeTest.bin\u001b[0m\n",
            "[ 60%] \u001b[32mBuilding CXX object examples/tests/CMakeFiles/resizeTest.bin.dir/resizeTest.cpp.o\u001b[0m\n",
            "[ 60%] Built target 1_thread_user_processing_function.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target handFromJsonTest.bin\u001b[0m\n",
            "[ 60%] \u001b[32mBuilding CXX object examples/tests/CMakeFiles/handFromJsonTest.bin.dir/handFromJsonTest.cpp.o\u001b[0m\n",
            "[ 61%] \u001b[32m\u001b[1mLinking CXX executable resizeTest.bin\u001b[0m\n",
            "[ 61%] Built target resizeTest.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_3d\u001b[0m\n",
            "[ 61%] \u001b[32mBuilding CXX object src/openpose/3d/CMakeFiles/openpose_3d.dir/cameraParameterReader.cpp.o\u001b[0m\n",
            "[ 61%] \u001b[32m\u001b[1mLinking CXX executable handFromJsonTest.bin\u001b[0m\n",
            "[ 61%] Built target handFromJsonTest.bin\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_calibration\u001b[0m\n",
            "[ 61%] \u001b[32mBuilding CXX object src/openpose/calibration/CMakeFiles/openpose_calibration.dir/cameraParameterEstimation.cpp.o\u001b[0m\n",
            "[ 62%] \u001b[32mBuilding CXX object src/openpose/3d/CMakeFiles/openpose_3d.dir/defineTemplates.cpp.o\u001b[0m\n",
            "[ 62%] \u001b[32mBuilding CXX object src/openpose/3d/CMakeFiles/openpose_3d.dir/jointAngleEstimation.cpp.o\u001b[0m\n",
            "[ 62%] \u001b[32mBuilding CXX object src/openpose/3d/CMakeFiles/openpose_3d.dir/poseTriangulation.cpp.o\u001b[0m\n",
            "[ 63%] \u001b[32mBuilding CXX object src/openpose/3d/CMakeFiles/openpose_3d.dir/poseTriangulationPrivate.cpp.o\u001b[0m\n",
            "[ 64%] \u001b[32mBuilding CXX object src/openpose/calibration/CMakeFiles/openpose_calibration.dir/gridPatternFunctions.cpp.o\u001b[0m\n",
            "[ 64%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_3d.so\u001b[0m\n",
            "[ 64%] Built target openpose_3d\n",
            "[ 65%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/face/CMakeFiles/openpose_face.dir/openpose_face_generated_renderFace.cu.o\u001b[0m\n",
            "[ 65%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_calibration.so\u001b[0m\n",
            "[ 65%] Built target openpose_calibration\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_filestream\u001b[0m\n",
            "[ 65%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/bvhSaver.cpp.o\u001b[0m\n",
            "[ 65%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/cocoJsonSaver.cpp.o\u001b[0m\n",
            "[ 66%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/defineTemplates.cpp.o\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_face\u001b[0m\n",
            "[ 66%] \u001b[32mBuilding CXX object src/openpose/face/CMakeFiles/openpose_face.dir/defineTemplates.cpp.o\u001b[0m\n",
            "[ 66%] \u001b[32mBuilding CXX object src/openpose/face/CMakeFiles/openpose_face.dir/faceDetector.cpp.o\u001b[0m\n",
            "[ 66%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/fileSaver.cpp.o\u001b[0m\n",
            "[ 67%] \u001b[32mBuilding CXX object src/openpose/face/CMakeFiles/openpose_face.dir/faceDetectorOpenCV.cpp.o\u001b[0m\n",
            "[ 67%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/fileStream.cpp.o\u001b[0m\n",
            "[ 67%] \u001b[32mBuilding CXX object src/openpose/face/CMakeFiles/openpose_face.dir/faceExtractorCaffe.cpp.o\u001b[0m\n",
            "[ 67%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/heatMapSaver.cpp.o\u001b[0m\n",
            "[ 68%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/imageSaver.cpp.o\u001b[0m\n",
            "[ 68%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/jsonOfstream.cpp.o\u001b[0m\n",
            "[ 68%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/keypointSaver.cpp.o\u001b[0m\n",
            "[ 69%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/peopleJsonSaver.cpp.o\u001b[0m\n",
            "[ 69%] \u001b[32mBuilding CXX object src/openpose/face/CMakeFiles/openpose_face.dir/faceExtractorNet.cpp.o\u001b[0m\n",
            "[ 69%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/udpSender.cpp.o\u001b[0m\n",
            "[ 69%] \u001b[32mBuilding CXX object src/openpose/filestream/CMakeFiles/openpose_filestream.dir/videoSaver.cpp.o\u001b[0m\n",
            "[ 69%] \u001b[32mBuilding CXX object src/openpose/face/CMakeFiles/openpose_face.dir/faceCpuRenderer.cpp.o\u001b[0m\n",
            "[ 70%] \u001b[32mBuilding CXX object src/openpose/face/CMakeFiles/openpose_face.dir/faceGpuRenderer.cpp.o\u001b[0m\n",
            "[ 70%] \u001b[32mBuilding CXX object src/openpose/face/CMakeFiles/openpose_face.dir/faceRenderer.cpp.o\u001b[0m\n",
            "[ 71%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_filestream.so\u001b[0m\n",
            "[ 71%] Built target openpose_filestream\n",
            "[ 71%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/gpu/CMakeFiles/openpose_gpu.dir/openpose_gpu_generated_cuda.cu.o\u001b[0m\n",
            "[ 71%] \u001b[32mBuilding CXX object src/openpose/face/CMakeFiles/openpose_face.dir/renderFace.cpp.o\u001b[0m\n",
            "[ 72%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_face.so\u001b[0m\n",
            "[ 72%] Built target openpose_face\n",
            "[ 73%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/pose/CMakeFiles/openpose_pose.dir/openpose_pose_generated_renderPose.cu.o\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_gpu\u001b[0m\n",
            "[ 73%] \u001b[32mBuilding CXX object src/openpose/gpu/CMakeFiles/openpose_gpu.dir/cuda.cpp.o\u001b[0m\n",
            "[ 74%] \u001b[32mBuilding CXX object src/openpose/gpu/CMakeFiles/openpose_gpu.dir/gpu.cpp.o\u001b[0m\n",
            "[ 74%] \u001b[32mBuilding CXX object src/openpose/gpu/CMakeFiles/openpose_gpu.dir/opencl.cpp.o\u001b[0m\n",
            "[ 74%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_gpu.so\u001b[0m\n",
            "[ 74%] Built target openpose_gpu\n",
            "[ 75%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/hand/CMakeFiles/openpose_hand.dir/openpose_hand_generated_renderHand.cu.o\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_pose\u001b[0m\n",
            "[ 75%] \u001b[32mBuilding CXX object src/openpose/pose/CMakeFiles/openpose_pose.dir/defineTemplates.cpp.o\u001b[0m\n",
            "[ 75%] \u001b[32mBuilding CXX object src/openpose/pose/CMakeFiles/openpose_pose.dir/poseCpuRenderer.cpp.o\u001b[0m\n",
            "[ 76%] \u001b[32mBuilding CXX object src/openpose/pose/CMakeFiles/openpose_pose.dir/poseExtractor.cpp.o\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_hand\u001b[0m\n",
            "[ 76%] \u001b[32mBuilding CXX object src/openpose/hand/CMakeFiles/openpose_hand.dir/defineTemplates.cpp.o\u001b[0m\n",
            "[ 76%] \u001b[32mBuilding CXX object src/openpose/pose/CMakeFiles/openpose_pose.dir/poseExtractorCaffe.cpp.o\u001b[0m\n",
            "[ 76%] \u001b[32mBuilding CXX object src/openpose/hand/CMakeFiles/openpose_hand.dir/handDetector.cpp.o\u001b[0m\n",
            "[ 76%] \u001b[32mBuilding CXX object src/openpose/hand/CMakeFiles/openpose_hand.dir/handDetectorFromTxt.cpp.o\u001b[0m\n",
            "[ 77%] \u001b[32mBuilding CXX object src/openpose/hand/CMakeFiles/openpose_hand.dir/handExtractorCaffe.cpp.o\u001b[0m\n",
            "[ 77%] \u001b[32mBuilding CXX object src/openpose/pose/CMakeFiles/openpose_pose.dir/poseExtractorNet.cpp.o\u001b[0m\n",
            "[ 78%] \u001b[32mBuilding CXX object src/openpose/pose/CMakeFiles/openpose_pose.dir/poseGpuRenderer.cpp.o\u001b[0m\n",
            "[ 78%] \u001b[32mBuilding CXX object src/openpose/pose/CMakeFiles/openpose_pose.dir/poseParameters.cpp.o\u001b[0m\n",
            "[ 78%] \u001b[32mBuilding CXX object src/openpose/hand/CMakeFiles/openpose_hand.dir/handExtractorNet.cpp.o\u001b[0m\n",
            "[ 78%] \u001b[32mBuilding CXX object src/openpose/pose/CMakeFiles/openpose_pose.dir/poseParametersRender.cpp.o\u001b[0m\n",
            "[ 78%] \u001b[32mBuilding CXX object src/openpose/pose/CMakeFiles/openpose_pose.dir/poseRenderer.cpp.o\u001b[0m\n",
            "[ 78%] \u001b[32mBuilding CXX object src/openpose/hand/CMakeFiles/openpose_hand.dir/handCpuRenderer.cpp.o\u001b[0m\n",
            "[ 79%] \u001b[32mBuilding CXX object src/openpose/hand/CMakeFiles/openpose_hand.dir/handGpuRenderer.cpp.o\u001b[0m\n",
            "[ 80%] \u001b[32mBuilding CXX object src/openpose/pose/CMakeFiles/openpose_pose.dir/renderPose.cpp.o\u001b[0m\n",
            "[ 80%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_pose.so\u001b[0m\n",
            "[ 80%] \u001b[32mBuilding CXX object src/openpose/hand/CMakeFiles/openpose_hand.dir/handRenderer.cpp.o\u001b[0m\n",
            "[ 80%] Built target openpose_pose\n",
            "[ 80%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/net/CMakeFiles/openpose_net.dir/openpose_net_generated_resizeAndMergeBase.cu.o\u001b[0m\n",
            "[ 80%] \u001b[32mBuilding CXX object src/openpose/hand/CMakeFiles/openpose_hand.dir/renderHand.cpp.o\u001b[0m\n",
            "[ 81%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_hand.so\u001b[0m\n",
            "[ 81%] Built target openpose_hand\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_thread\u001b[0m\n",
            "[ 82%] \u001b[32mBuilding CXX object src/openpose/thread/CMakeFiles/openpose_thread.dir/defineTemplates.cpp.o\u001b[0m\n",
            "[ 82%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/net/CMakeFiles/openpose_net.dir/openpose_net_generated_bodyPartConnectorBase.cu.o\u001b[0m\n",
            "[ 82%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_thread.so\u001b[0m\n",
            "[ 82%] Built target openpose_thread\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_tracking\u001b[0m\n",
            "[ 82%] \u001b[32mBuilding CXX object src/openpose/tracking/CMakeFiles/openpose_tracking.dir/defineTemplates.cpp.o\u001b[0m\n",
            "[ 83%] \u001b[32mBuilding CXX object src/openpose/tracking/CMakeFiles/openpose_tracking.dir/personIdExtractor.cpp.o\u001b[0m\n",
            "[ 84%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/net/CMakeFiles/openpose_net.dir/openpose_net_generated_maximumBase.cu.o\u001b[0m\n",
            "[ 84%] \u001b[32mBuilding CXX object src/openpose/tracking/CMakeFiles/openpose_tracking.dir/personTracker.cpp.o\u001b[0m\n",
            "[ 84%] \u001b[32mBuilding CXX object src/openpose/tracking/CMakeFiles/openpose_tracking.dir/pyramidalLK.cpp.o\u001b[0m\n",
            "[ 85%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_tracking.so\u001b[0m\n",
            "[ 85%] Built target openpose_tracking\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_unity\u001b[0m\n",
            "[ 85%] \u001b[32mBuilding CXX object src/openpose/unity/CMakeFiles/openpose_unity.dir/unityBinding.cpp.o\u001b[0m\n",
            "[ 85%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_unity.so\u001b[0m\n",
            "[ 85%] Built target openpose_unity\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_gui\u001b[0m\n",
            "[ 85%] \u001b[32mBuilding CXX object src/openpose/gui/CMakeFiles/openpose_gui.dir/defineTemplates.cpp.o\u001b[0m\n",
            "[ 86%] \u001b[32mBuilding CXX object src/openpose/gui/CMakeFiles/openpose_gui.dir/frameDisplayer.cpp.o\u001b[0m\n",
            "[ 86%] \u001b[32mBuilding CXX object src/openpose/gui/CMakeFiles/openpose_gui.dir/gui.cpp.o\u001b[0m\n",
            "[ 86%] \u001b[34m\u001b[1mBuilding NVCC (Device) object src/openpose/net/CMakeFiles/openpose_net.dir/openpose_net_generated_nmsBase.cu.o\u001b[0m\n",
            "[ 86%] \u001b[32mBuilding CXX object src/openpose/gui/CMakeFiles/openpose_gui.dir/guiAdam.cpp.o\u001b[0m\n",
            "[ 87%] \u001b[32mBuilding CXX object src/openpose/gui/CMakeFiles/openpose_gui.dir/gui3D.cpp.o\u001b[0m\n",
            "[ 87%] \u001b[32mBuilding CXX object src/openpose/gui/CMakeFiles/openpose_gui.dir/guiInfoAdder.cpp.o\u001b[0m\n",
            "[ 87%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_gui.so\u001b[0m\n",
            "[ 87%] Built target openpose_gui\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_producer\u001b[0m\n",
            "[ 87%] \u001b[32mBuilding CXX object src/openpose/producer/CMakeFiles/openpose_producer.dir/datumProducer.cpp.o\u001b[0m\n",
            "[ 88%] \u001b[32mBuilding CXX object src/openpose/producer/CMakeFiles/openpose_producer.dir/defineTemplates.cpp.o\u001b[0m\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_net\u001b[0m\n",
            "[ 89%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/bodyPartConnectorBase.cpp.o\u001b[0m\n",
            "[ 89%] \u001b[32mBuilding CXX object src/openpose/producer/CMakeFiles/openpose_producer.dir/flirReader.cpp.o\u001b[0m\n",
            "[ 89%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/bodyPartConnectorBaseCL.cpp.o\u001b[0m\n",
            "[ 89%] \u001b[32mBuilding CXX object src/openpose/producer/CMakeFiles/openpose_producer.dir/imageDirectoryReader.cpp.o\u001b[0m\n",
            "[ 89%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/bodyPartConnectorCaffe.cpp.o\u001b[0m\n",
            "[ 89%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/maximumBase.cpp.o\u001b[0m\n",
            "[ 90%] \u001b[32mBuilding CXX object src/openpose/producer/CMakeFiles/openpose_producer.dir/ipCameraReader.cpp.o\u001b[0m\n",
            "[ 90%] \u001b[32mBuilding CXX object src/openpose/producer/CMakeFiles/openpose_producer.dir/producer.cpp.o\u001b[0m\n",
            "[ 91%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/maximumCaffe.cpp.o\u001b[0m\n",
            "[ 91%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/netCaffe.cpp.o\u001b[0m\n",
            "[ 91%] \u001b[32mBuilding CXX object src/openpose/producer/CMakeFiles/openpose_producer.dir/spinnakerWrapper.cpp.o\u001b[0m\n",
            "[ 91%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/netOpenCv.cpp.o\u001b[0m\n",
            "[ 92%] \u001b[32mBuilding CXX object src/openpose/producer/CMakeFiles/openpose_producer.dir/videoCaptureReader.cpp.o\u001b[0m\n",
            "[ 93%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/nmsBase.cpp.o\u001b[0m\n",
            "[ 93%] \u001b[32mBuilding CXX object src/openpose/producer/CMakeFiles/openpose_producer.dir/videoReader.cpp.o\u001b[0m\n",
            "[ 93%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/nmsBaseCL.cpp.o\u001b[0m\n",
            "[ 93%] \u001b[32mBuilding CXX object src/openpose/producer/CMakeFiles/openpose_producer.dir/webcamReader.cpp.o\u001b[0m\n",
            "[ 93%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/nmsCaffe.cpp.o\u001b[0m\n",
            "[ 93%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_producer.so\u001b[0m\n",
            "[ 93%] Built target openpose_producer\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_utilities\u001b[0m\n",
            "[ 93%] \u001b[32mBuilding CXX object src/openpose/utilities/CMakeFiles/openpose_utilities.dir/errorAndLog.cpp.o\u001b[0m\n",
            "[ 94%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/resizeAndMergeBase.cpp.o\u001b[0m\n",
            "[ 95%] \u001b[32mBuilding CXX object src/openpose/utilities/CMakeFiles/openpose_utilities.dir/fileSystem.cpp.o\u001b[0m\n",
            "\u001b[01m\u001b[K/content/openpose/src/openpose/utilities/fileSystem.cpp:\u001b[m\u001b[K In function ‘\u001b[01m\u001b[Kbool op::compareNat(const string&, const string&)\u001b[m\u001b[K’:\n",
            "\u001b[01m\u001b[K/content/openpose/src/openpose/utilities/fileSystem.cpp:51:33:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[Kcomparison between signed and unsigned integer expressions [\u001b[01;35m\u001b[K-Wsign-compare\u001b[m\u001b[K]\n",
            "             for (auto i = 0 ; \u001b[01;35m\u001b[Ki < aNumberAsString.size()\u001b[m\u001b[K ; ++i)\n",
            "                               \u001b[01;35m\u001b[K~~^~~~~~~~~~~~~~~~~~~~~~~~\u001b[m\u001b[K\n",
            "[ 95%] \u001b[32mBuilding CXX object src/openpose/utilities/CMakeFiles/openpose_utilities.dir/flagsToOpenPose.cpp.o\u001b[0m\n",
            "[ 95%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/resizeAndMergeBaseCL.cpp.o\u001b[0m\n",
            "[ 95%] \u001b[32mBuilding CXX object src/openpose/net/CMakeFiles/openpose_net.dir/resizeAndMergeCaffe.cpp.o\u001b[0m\n",
            "[ 95%] \u001b[32mBuilding CXX object src/openpose/utilities/CMakeFiles/openpose_utilities.dir/keypoint.cpp.o\u001b[0m\n",
            "[ 95%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_net.so\u001b[0m\n",
            "[ 95%] Built target openpose_net\n",
            "[ 96%] \u001b[32mBuilding CXX object src/openpose/utilities/CMakeFiles/openpose_utilities.dir/openCv.cpp.o\u001b[0m\n",
            "[ 96%] \u001b[32mBuilding CXX object src/openpose/utilities/CMakeFiles/openpose_utilities.dir/openCvPrivate.cpp.o\u001b[0m\n",
            "[ 96%] \u001b[32mBuilding CXX object src/openpose/utilities/CMakeFiles/openpose_utilities.dir/profiler.cpp.o\u001b[0m\n",
            "[ 97%] \u001b[32mBuilding CXX object src/openpose/utilities/CMakeFiles/openpose_utilities.dir/string.cpp.o\u001b[0m\n",
            "[ 97%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_utilities.so\u001b[0m\n",
            "[ 97%] Built target openpose_utilities\n",
            "\u001b[35m\u001b[1mScanning dependencies of target openpose_wrapper\u001b[0m\n",
            "[ 97%] \u001b[32mBuilding CXX object src/openpose/wrapper/CMakeFiles/openpose_wrapper.dir/wrapperAuxiliary.cpp.o\u001b[0m\n",
            "[ 97%] \u001b[32mBuilding CXX object src/openpose/wrapper/CMakeFiles/openpose_wrapper.dir/defineTemplates.cpp.o\u001b[0m\n",
            "[ 98%] \u001b[32mBuilding CXX object src/openpose/wrapper/CMakeFiles/openpose_wrapper.dir/wrapperStructExtra.cpp.o\u001b[0m\n",
            "[ 98%] \u001b[32mBuilding CXX object src/openpose/wrapper/CMakeFiles/openpose_wrapper.dir/wrapperStructFace.cpp.o\u001b[0m\n",
            "[ 98%] \u001b[32mBuilding CXX object src/openpose/wrapper/CMakeFiles/openpose_wrapper.dir/wrapperStructGui.cpp.o\u001b[0m\n",
            "[ 99%] \u001b[32mBuilding CXX object src/openpose/wrapper/CMakeFiles/openpose_wrapper.dir/wrapperStructHand.cpp.o\u001b[0m\n",
            "[ 99%] \u001b[32mBuilding CXX object src/openpose/wrapper/CMakeFiles/openpose_wrapper.dir/wrapperStructInput.cpp.o\u001b[0m\n",
            "[ 99%] \u001b[32mBuilding CXX object src/openpose/wrapper/CMakeFiles/openpose_wrapper.dir/wrapperStructOutput.cpp.o\u001b[0m\n",
            "[100%] \u001b[32mBuilding CXX object src/openpose/wrapper/CMakeFiles/openpose_wrapper.dir/wrapperStructPose.cpp.o\u001b[0m\n",
            "[100%] \u001b[32m\u001b[1mLinking CXX shared library libopenpose_wrapper.so\u001b[0m\n",
            "[100%] Built target openpose_wrapper\n",
            "Built target openpose_lib\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "eeAg9uLh5hHk",
        "colab_type": "text"
      },
      "source": [
        "## Downloading the caffe pose model"
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "oQsNhzGtyJHI",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 34
        },
        "outputId": "e095e8ad-1523-4c17-f67b-c6150e48e840"
      },
      "source": [
        "%cd /content/openpose/models/pose/coco/"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "/content/openpose/models/pose/coco\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "kKr97TPX2XJ_",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 224
        },
        "outputId": "b959ae97-8088-422b-efb3-73ea7e0a5b25"
      },
      "source": [
        "!wget https://github.com/foss-for-synopsys-dwc-arc-processors/synopsys-caffe-models/raw/master/caffe_models/openpose/caffe_model/pose_iter_440000.caffemodel"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "--2020-07-16 19:42:26--  http://posefs1.perception.cs.cmu.edu/Users/ZheCao/pose_iter_440000.caffemodel\n",
            "Resolving posefs1.perception.cs.cmu.edu (posefs1.perception.cs.cmu.edu)... 128.2.176.37\n",
            "Connecting to posefs1.perception.cs.cmu.edu (posefs1.perception.cs.cmu.edu)|128.2.176.37|:80... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 209274056 (200M) [text/plain]\n",
            "Saving to: ‘pose_iter_440000.caffemodel’\n",
            "\n",
            "pose_iter_440000.ca 100%[===================>] 199.58M  26.8MB/s    in 9.7s    \n",
            "\n",
            "2020-07-16 19:42:36 (20.6 MB/s) - ‘pose_iter_440000.caffemodel’ saved [209274056/209274056]\n",
            "\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "rEoxnAJN2ZjU",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 34
        },
        "outputId": "0d10adc7-3d24-4dee-81bd-2960732757d9"
      },
      "source": [
        "%cd \"/content/\""
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "/content\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "z9F7_ofa5wuZ",
        "colab_type": "text"
      },
      "source": [
        "## Running openpose"
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "ck4eXa4R2yBu",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 122
        },
        "outputId": "817aeca8-dfc2-4de8-c205-dbe8d5d1af8c"
      },
      "source": [
        "!cd \"/content/openpose\" && ./build/examples/openpose/openpose.bin  --image_dir \"/content/drive/My Drive/CIHP_PGN-master/dataset/images/\" --display 0 --render_pose 0 --model_pose COCO --write_json \"/content/drive/My Drive/CIHP_PGN-master/dataset/pose_coco/\""
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "Starting OpenPose demo...\n",
            "Configuring OpenPose...\n",
            "Starting thread(s)...\n",
            "Auto-detecting all available GPUs... Detected 1 GPU(s), using 1 of them starting at GPU 0.\n",
            "OpenPose demo successfully finished. Total time: 2.672611 seconds.\n"
          ],
          "name": "stdout"
        }
      ]
    }
  ]
}